IConfigurationRefresher Interface

Definition

An interface used to trigger an update for the data registered for refresh with App Configuration.

public interface IConfigurationRefresher
type IConfigurationRefresher = interface
Public Interface IConfigurationRefresher

Properties

AppConfigurationEndpoint

The App Configuration endpoint.

LoggerFactory

An ILoggerFactory for creating a logger to log errors.

Methods

ProcessPushNotification(PushNotification, Nullable<TimeSpan>)

Process the details of a PushNotification object to ensure the latest key-values are provided in the next request to App Configuration. The next request will be made after the cached values have been marked as dirty.

RefreshAsync(CancellationToken)

Refreshes the data from App Configuration asynchronously.

SetDirty(Nullable<TimeSpan>)
Obsolete.

Sets the cached value for key-values registered for refresh as dirty. A random delay is added before the cached value is marked as dirty to reduce potential throttling in case multiple instances refresh at the same time.

TryRefreshAsync(CancellationToken)

Refreshes the data from App Configuration asynchronously. A return value indicates whether the operation succeeded.

Applies to