azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.documen...

127 строки
5.3 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.documentdb._consistency_level
id: _consistency_level
parent: com.microsoft.azure.documentdb
children:
- com.microsoft.azure.documentdb._consistency_level.BoundedStaleness
- com.microsoft.azure.documentdb._consistency_level.ConsistentPrefix
- com.microsoft.azure.documentdb._consistency_level.Eventual
- com.microsoft.azure.documentdb._consistency_level.Session
- com.microsoft.azure.documentdb._consistency_level.Strong
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: ConsistencyLevel
nameWithType: ConsistencyLevel
fullName: com.microsoft.azure.documentdb.ConsistencyLevel
type: Enum
source:
remote: &o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
branch: master
repo: https://github.com/Azure/azure-documentdb-java-pr
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 12
package: com.microsoft.azure.documentdb
summary: >-
<p>Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB database service. </p>
<p>The requested ConsistencyLevel must match or be weaker than that provisioned for the database account. Consistency levels by order of strength are Strong, BoundedStaleness, Session and Eventual. </p>
syntax:
content: public enum ConsistencyLevel
inheritance:
- java.lang.Object
- java.lang.Enum<ConsistencyLevel>
- uid: com.microsoft.azure.documentdb._consistency_level.BoundedStaleness
id: BoundedStaleness
parent: com.microsoft.azure.documentdb._consistency_level
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: BoundedStaleness
nameWithType: ConsistencyLevel.BoundedStaleness
fullName: com.microsoft.azure.documentdb.ConsistencyLevel.BoundedStaleness
type: Field
source:
remote: *o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 23
package: com.microsoft.azure.documentdb
summary: <p>Bounded Staleness guarantees that reads are not too out-of-date. This can be configured based on number of operations (MaxStalenessPrefix) or time (MaxStalenessIntervalInSeconds) </p>
syntax:
content: public BoundedStaleness
- uid: com.microsoft.azure.documentdb._consistency_level.ConsistentPrefix
id: ConsistentPrefix
parent: com.microsoft.azure.documentdb._consistency_level
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: ConsistentPrefix
nameWithType: ConsistencyLevel.ConsistentPrefix
fullName: com.microsoft.azure.documentdb.ConsistencyLevel.ConsistentPrefix
type: Field
source:
remote: *o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 42
package: com.microsoft.azure.documentdb
summary: <p>ConsistentPrefix Consistency guarantees that reads will return some prefix of all writes with no gaps. All writes will be eventually be available for reads. </p>
syntax:
content: public ConsistentPrefix
- uid: com.microsoft.azure.documentdb._consistency_level.Eventual
id: Eventual
parent: com.microsoft.azure.documentdb._consistency_level
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: Eventual
nameWithType: ConsistencyLevel.Eventual
fullName: com.microsoft.azure.documentdb.ConsistencyLevel.Eventual
type: Field
source:
remote: *o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 36
package: com.microsoft.azure.documentdb
summary: <p>Eventual Consistency guarantees that reads will return a subset of writes. All writes will be eventually be available for reads. </p>
syntax:
content: public Eventual
- uid: com.microsoft.azure.documentdb._consistency_level.Session
id: Session
parent: com.microsoft.azure.documentdb._consistency_level
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: Session
nameWithType: ConsistencyLevel.Session
fullName: com.microsoft.azure.documentdb.ConsistencyLevel.Session
type: Field
source:
remote: *o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 30
package: com.microsoft.azure.documentdb
summary: <p>Session Consistency guarantees monotonic reads (you never read old data, then new, then old again), monotonic writes (writes are ordered) and read your writes (your writes are immediately visible to your reads) within any single session. </p>
syntax:
content: public Session
- uid: com.microsoft.azure.documentdb._consistency_level.Strong
id: Strong
parent: com.microsoft.azure.documentdb._consistency_level
href: com.microsoft.azure.documentdb._consistency_level.yml
langs:
- java
name: Strong
nameWithType: ConsistencyLevel.Strong
fullName: com.microsoft.azure.documentdb.ConsistencyLevel.Strong
type: Field
source:
remote: *o0
path: DocumentDB/src/main/java/com/microsoft/azure/documentdb/ConsistencyLevel.java
startLine: 17
package: com.microsoft.azure.documentdb
summary: <p>Strong Consistency guarantees that read operations always return the value that was last written. </p>
syntax:
content: public Strong
references: []