108 строки
9.3 KiB
YAML
108 строки
9.3 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy"
|
|
name: "ConsistencyPolicy"
|
|
nameWithType: "ConsistencyPolicy"
|
|
summary: "The consistency policy for the Cosmos DB database account."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public class **ConsistencyPolicy**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.ConsistencyPolicy()"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.ConsistencyPolicy()"
|
|
name: "ConsistencyPolicy()"
|
|
nameWithType: "ConsistencyPolicy.ConsistencyPolicy()"
|
|
syntax: "public ConsistencyPolicy()"
|
|
methods:
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.defaultConsistencyLevel()"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.defaultConsistencyLevel()"
|
|
name: "defaultConsistencyLevel()"
|
|
nameWithType: "ConsistencyPolicy.defaultConsistencyLevel()"
|
|
summary: "Get the default consistency level and configuration settings of the Cosmos DB account."
|
|
syntax: "public DefaultConsistencyLevel defaultConsistencyLevel()"
|
|
desc: "Get the default consistency level and configuration settings of the Cosmos DB account. Possible values include: 'Eventual', 'Session', 'BoundedStaleness', 'Strong', 'ConsistentPrefix'."
|
|
returns:
|
|
description: "the defaultConsistencyLevel value"
|
|
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel?alt=com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel&text=DefaultConsistencyLevel\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxIntervalInSeconds()"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxIntervalInSeconds()"
|
|
name: "maxIntervalInSeconds()"
|
|
nameWithType: "ConsistencyPolicy.maxIntervalInSeconds()"
|
|
summary: "Get when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated."
|
|
syntax: "public Integer maxIntervalInSeconds()"
|
|
desc: "Get when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'."
|
|
returns:
|
|
description: "the maxIntervalInSeconds value"
|
|
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxStalenessPrefix()"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.maxStalenessPrefix()"
|
|
name: "maxStalenessPrefix()"
|
|
nameWithType: "ConsistencyPolicy.maxStalenessPrefix()"
|
|
summary: "Get when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated."
|
|
syntax: "public Long maxStalenessPrefix()"
|
|
desc: "Get when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 \\\\u2013 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'."
|
|
returns:
|
|
description: "the maxStalenessPrefix value"
|
|
type: "<xref href=\"java.lang.Long?alt=java.lang.Long&text=Long\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withDefaultConsistencyLevel(com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel)"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)"
|
|
name: "withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)"
|
|
nameWithType: "ConsistencyPolicy.withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)"
|
|
summary: "Set the default consistency level and configuration settings of the Cosmos DB account."
|
|
parameters:
|
|
- description: "the defaultConsistencyLevel value to set"
|
|
name: "defaultConsistencyLevel"
|
|
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel?alt=com.microsoft.azure.management.cosmosdb.DefaultConsistencyLevel&text=DefaultConsistencyLevel\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ConsistencyPolicy withDefaultConsistencyLevel(DefaultConsistencyLevel defaultConsistencyLevel)"
|
|
desc: "Set the default consistency level and configuration settings of the Cosmos DB account. Possible values include: 'Eventual', 'Session', 'BoundedStaleness', 'Strong', 'ConsistentPrefix'."
|
|
returns:
|
|
description: "the ConsistencyPolicy object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConsistencyPolicy?alt=com.microsoft.azure.management.cosmosdb.ConsistencyPolicy&text=ConsistencyPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxIntervalInSeconds(java.lang.Integer)"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxIntervalInSeconds(Integer maxIntervalInSeconds)"
|
|
name: "withMaxIntervalInSeconds(Integer maxIntervalInSeconds)"
|
|
nameWithType: "ConsistencyPolicy.withMaxIntervalInSeconds(Integer maxIntervalInSeconds)"
|
|
summary: "Set when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated."
|
|
parameters:
|
|
- description: "the maxIntervalInSeconds value to set"
|
|
name: "maxIntervalInSeconds"
|
|
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ConsistencyPolicy withMaxIntervalInSeconds(Integer maxIntervalInSeconds)"
|
|
desc: "Set when used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for this value is 5 - 86400. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'."
|
|
returns:
|
|
description: "the ConsistencyPolicy object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConsistencyPolicy?alt=com.microsoft.azure.management.cosmosdb.ConsistencyPolicy&text=ConsistencyPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxStalenessPrefix(java.lang.Long)"
|
|
fullName: "com.microsoft.azure.management.cosmosdb.ConsistencyPolicy.withMaxStalenessPrefix(Long maxStalenessPrefix)"
|
|
name: "withMaxStalenessPrefix(Long maxStalenessPrefix)"
|
|
nameWithType: "ConsistencyPolicy.withMaxStalenessPrefix(Long maxStalenessPrefix)"
|
|
summary: "Set when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated."
|
|
parameters:
|
|
- description: "the maxStalenessPrefix value to set"
|
|
name: "maxStalenessPrefix"
|
|
type: "<xref href=\"java.lang.Long?alt=java.lang.Long&text=Long\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ConsistencyPolicy withMaxStalenessPrefix(Long maxStalenessPrefix)"
|
|
desc: "Set when used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is 1 \\\\u2013 2,147,483,647. Required when defaultConsistencyPolicy is set to 'BoundedStaleness'."
|
|
returns:
|
|
description: "the ConsistencyPolicy object itself."
|
|
type: "<xref href=\"com.microsoft.azure.management.cosmosdb.ConsistencyPolicy?alt=com.microsoft.azure.management.cosmosdb.ConsistencyPolicy&text=ConsistencyPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The consistency policy for the Cosmos DB database account."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.management.cosmosdb"
|
|
artifact: com.microsoft.azure:azure-mgmt-cosmosdb:1.41.4
|