Class AppConfigurationStoreMonitoring
java.lang.Object
com.azure.spring.cloud.config.properties.AppConfigurationStoreMonitoring
Properties for Monitoring an Azure App Configuration Store.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classToken used to verifying Push Refresh Requestsstatic classPush Notification tokens for setting watch interval to 0. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetEnabled(boolean enabled) voidsetFeatureFlagRefreshInterval(Duration featureFlagRefreshInterval) The minimum time between checks of feature flags.voidsetPushNotification(AppConfigurationStoreMonitoring.PushNotification pushNotification) voidsetRefreshInterval(Duration refreshInterval) The minimum time between checks.voidsetTriggers(List<AppConfigurationStoreTrigger> triggers) voidValidates refreshIntervals are at least 1 second, and if enabled triggers are valid.
-
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
- Returns:
- the refreshInterval
-
setRefreshInterval
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
- Returns:
- the featureFlagRefreshInterval
-
setFeatureFlagRefreshInterval
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
- Returns:
- the triggers
-
setTriggers
- Parameters:
triggers- the triggers to set
-
getPushNotification
- Returns:
- the pushNotification
-
setPushNotification
- Parameters:
pushNotification- the pushNotification to set
-
validateAndInit
Validates refreshIntervals are at least 1 second, and if enabled triggers are valid.
-