DedicatedGatewayRequestOptions.MaxIntegratedCacheStaleness Property

Definition

Gets or sets the staleness value associated with the request in the Azure Cosmos DB service.

public TimeSpan? MaxIntegratedCacheStaleness { get; set; }
member this.MaxIntegratedCacheStaleness : Nullable<TimeSpan> with get, set
Public Property MaxIntegratedCacheStaleness As Nullable(Of TimeSpan)

Property Value

Default value is null.

Remarks

For requests where the ConsistencyLevel is Eventual or Session, responses from the integrated cache are guaranteed to be no staler than value indicated by this MaxIntegratedCacheStaleness. Cache Staleness is supported in milliseconds granularity. Anything smaller than milliseconds will be ignored.

Applies to