IConfigurationRefresher.SetDirty(Nullable<TimeSpan>) Method

Definition

Caution

SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.

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.

[System.Obsolete("SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.")]
public void SetDirty (TimeSpan? maxDelay = default);
[<System.Obsolete("SetDirty will be deprecated in a future release. Please use the 'ProcessPushNotification' method instead for push-model based configuration refresh.")>]
abstract member SetDirty : Nullable<TimeSpan> -> unit
Public Sub SetDirty (Optional maxDelay As Nullable(Of TimeSpan) = Nothing)

Parameters

maxDelay
Nullable<TimeSpan>

Maximum delay before the cached value is marked as dirty. Default value is 30 seconds.

Attributes

Applies to