AppConfigurationRefresh Interface
Implements
public interface AppConfigurationRefresh
extends org.springframework.context.ApplicationEventPublisherAware
Enables checking of Configuration updates.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract void |
expireRefreshInterval(String endpoint, String syncToken)
Soft expires refresh interval. |
|
abstract
Map<String,App |
getAppConfigurationStoresHealth()
Gets the latest Health connection info for refresh. |
| abstract Mono<Boolean> |
refreshConfigurations()
Checks configurations to see if configurations should be reloaded. |
Method Details
expireRefreshInterval
public abstract void expireRefreshInterval(String endpoint, String syncToken)
Soft expires refresh interval. Sets amount of time to next refresh to be a random value between 0 and 15 seconds, unless value is less than the amount of time to the next refresh check.
Parameters:
getAppConfigurationStoresHealth
public abstract Map<String,AppConfigurationStoreHealth> getAppConfigurationStoresHealth()
Gets the latest Health connection info for refresh.
Returns:
refreshConfigurations
public abstract Mono<Boolean> refreshConfigurations()
Checks configurations to see if configurations should be reloaded. If the refresh interval has passed and a trigger has been updated configuration are reloaded.
Returns: