@Beta(value=V4_15_0, warningText="Preview API - subject to change in non-backwards compatible way") public final class DedicatedGatewayRequestOptions extends Object
Constructor and Description |
---|
DedicatedGatewayRequestOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
Duration |
getMaxIntegratedCacheStaleness()
Gets the staleness value associated with the request in the Azure CosmosDB service.
|
DedicatedGatewayRequestOptions |
setMaxIntegratedCacheStaleness(Duration maxIntegratedCacheStaleness)
Sets the staleness value associated with the request in the Azure CosmosDB service.
|
@Beta(value=V4_15_0, warningText="Preview API - subject to change in non-backwards compatible way") public DedicatedGatewayRequestOptions()
@Beta(value=V4_15_0, warningText="Preview API - subject to change in non-backwards compatible way") public Duration getMaxIntegratedCacheStaleness()
ConsistencyLevel
is ConsistencyLevel.EVENTUAL
, responses from the
integrated cache are guaranteed to be no staler than value indicated by this maxIntegratedCacheStaleness.
Default value is null
Cache Staleness is supported in milliseconds granularity. Anything smaller than milliseconds will be ignored.
@Beta(value=V4_15_0, warningText="Preview API - subject to change in non-backwards compatible way") public DedicatedGatewayRequestOptions setMaxIntegratedCacheStaleness(Duration maxIntegratedCacheStaleness)
ConsistencyLevel
is ConsistencyLevel.EVENTUAL
, responses from the
integrated cache are guaranteed to be no staler than value indicated by this maxIntegratedCacheStaleness.
Default value is null
Cache Staleness is supported in milliseconds granularity. Anything smaller than milliseconds will be ignored.
maxIntegratedCacheStaleness
- Max Integrated Cache Staleness durationCopyright © 2021 Microsoft Corporation. All rights reserved.