Class AppConfigurationStoreMonitoring

java.lang.Object
com.azure.spring.cloud.config.properties.AppConfigurationStoreMonitoring

public final class AppConfigurationStoreMonitoring extends Object
Properties for Monitoring an Azure App Configuration Store.
  • Constructor Details

    • AppConfigurationStoreMonitoring

      public AppConfigurationStoreMonitoring()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns:
      the enabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - the enabled to set
    • getRefreshInterval

      public Duration getRefreshInterval()
      Returns:
      the refreshInterval
    • setRefreshInterval

      public void setRefreshInterval(Duration refreshInterval)
      The minimum time between checks. The minimum valid time is 1s. The default refresh interval is 30s.
      Parameters:
      refreshInterval - minimum time between refresh checks
    • getFeatureFlagRefreshInterval

      public Duration getFeatureFlagRefreshInterval()
      Returns:
      the featureFlagRefreshInterval
    • setFeatureFlagRefreshInterval

      public void setFeatureFlagRefreshInterval(Duration featureFlagRefreshInterval)
      The minimum time between checks of feature flags. The minimum valid time is 1s. The default refresh interval is 30s.
      Parameters:
      featureFlagRefreshInterval - minimum time between refresh checks for feature flags
    • getTriggers

      public List<AppConfigurationStoreTrigger> getTriggers()
      Returns:
      the triggers
    • setTriggers

      public void setTriggers(List<AppConfigurationStoreTrigger> triggers)
      Parameters:
      triggers - the triggers to set
    • getPushNotification

      Returns:
      the pushNotification
    • setPushNotification

      public void setPushNotification(AppConfigurationStoreMonitoring.PushNotification pushNotification)
      Parameters:
      pushNotification - the pushNotification to set
    • validateAndInit

      @PostConstruct public void validateAndInit()
      Validates refreshIntervals are at least 1 second, and if enabled triggers are valid.