Uses of Class
com.microsoft.azure.management.cosmosdb.ConsistencyPolicy
Packages that use ConsistencyPolicy
Package
Description
This package contains the classes for CosmosDB.
-
Uses of ConsistencyPolicy in com.microsoft.azure.management.cosmosdb
Methods in com.microsoft.azure.management.cosmosdb that return ConsistencyPolicyModifier 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.Methods in com.microsoft.azure.management.cosmosdb with parameters of type ConsistencyPolicyModifier 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.