Class AppConfigurationStoreMonitoring
java.lang.Object
com.azure.spring.cloud.config.properties.AppConfigurationStoreMonitoring
Properties for Monitoring an Azure App Configuration Store.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Token used to verifying Push Refresh Requestsstatic class
Push Notification tokens for setting watch interval to 0. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setEnabled
(boolean enabled) void
setFeatureFlagRefreshInterval
(Duration featureFlagRefreshInterval) The minimum time between checks of feature flags.void
setPushNotification
(AppConfigurationStoreMonitoring.PushNotification pushNotification) void
setRefreshInterval
(Duration refreshInterval) The minimum time between checks.void
setTriggers
(List<AppConfigurationStoreTrigger> triggers) void
Validates 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.
-