Uses of Class
com.microsoft.azure.management.cosmosdb.ConsistencyPolicy
Package
Description
This package contains the classes for CosmosDB.
-
Uses of ConsistencyPolicy in com.microsoft.azure.management.cosmosdb
Modifier and TypeMethodDescriptionCosmosDBAccount.consistencyPolicy()
DatabaseAccountCreateUpdateParameters.consistencyPolicy()
Get the consistency policy for the Cosmos DB account.DatabaseAccountUpdateParameters.consistencyPolicy()
Get the consistency policy for the Cosmos DB account.ConsistencyPolicy.withDefaultConsistencyLevel
(DefaultConsistencyLevel defaultConsistencyLevel) Set the default consistency level and configuration settings of the Cosmos DB account.ConsistencyPolicy.withMaxIntervalInSeconds
(Integer maxIntervalInSeconds) Set when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated.ConsistencyPolicy.withMaxStalenessPrefix
(Long maxStalenessPrefix) Set when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated.Modifier and TypeMethodDescriptionDatabaseAccountCreateUpdateParameters.withConsistencyPolicy
(ConsistencyPolicy consistencyPolicy) Set the consistency policy for the Cosmos DB account.DatabaseAccountUpdateParameters.withConsistencyPolicy
(ConsistencyPolicy consistencyPolicy) Set the consistency policy for the Cosmos DB account.