public long getHostRoleCommandStatusSummaryCacheExpiryDuration() {
    String stringValue = getProperty(SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION);
    long value = SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION.getDefaultValue();
    if (stringValue != null) {
      try {
        value = Long.parseLong(stringValue);
      }
      catch (NumberFormatException ignored) {
      }

    }

    return value;
  }
As a safety measure the cache storing host role command status summaries should auto expire after a while.
The expiry duration is specified through the {@link #SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION} config property
expressed in minutes. The method returns the value of this config property.
@return the cache expiry duration in minutes
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java