azure-docs-sdk-java/docs-ref-autogen/com.azure.cosmos.Consistenc...

89 строки
5.4 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaEnum
uid: "com.azure.cosmos.ConsistencyLevel"
fullName: "com.azure.cosmos.ConsistencyLevel"
name: "ConsistencyLevel"
nameWithType: "ConsistencyLevel"
summary: "Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Enum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String)"
- "java.lang.Enum.clone()"
- "java.lang.Enum.compareTo(E)"
- "java.lang.Enum.equals(java.lang.Object)"
- "java.lang.Enum.finalize()"
- "java.lang.Enum.getDeclaringClass()"
- "java.lang.Enum.hashCode()"
- "java.lang.Enum.name()"
- "java.lang.Enum.ordinal()"
- "java.lang.Enum.toString()"
- "java.lang.Object.getClass()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public enum ConsistencyLevel extends Enum<ConsistencyLevel>"
fields:
- uid: "com.azure.cosmos.ConsistencyLevel.BOUNDED_STALENESS"
fullName: "com.azure.cosmos.ConsistencyLevel.BOUNDED_STALENESS"
name: "BOUNDED_STALENESS"
nameWithType: "ConsistencyLevel.BOUNDED_STALENESS"
summary: "Bounded Staleness guarantees that reads are not too out-of-date."
desc: "Bounded Staleness guarantees that reads are not too out-of-date. This can be configured based on number of operations (MaxStalenessPrefix) or time (MaxStalenessIntervalInSeconds)"
- uid: "com.azure.cosmos.ConsistencyLevel.CONSISTENT_PREFIX"
fullName: "com.azure.cosmos.ConsistencyLevel.CONSISTENT_PREFIX"
name: "CONSISTENT_PREFIX"
nameWithType: "ConsistencyLevel.CONSISTENT_PREFIX"
summary: "CONSISTENT\\_PREFIX Consistency guarantees that reads will return some prefix of all writes with no gaps."
desc: "CONSISTENT\\_PREFIX Consistency guarantees that reads will return some prefix of all writes with no gaps. ALL writes will be eventually be available for reads."
- uid: "com.azure.cosmos.ConsistencyLevel.EVENTUAL"
fullName: "com.azure.cosmos.ConsistencyLevel.EVENTUAL"
name: "EVENTUAL"
nameWithType: "ConsistencyLevel.EVENTUAL"
summary: "EVENTUAL Consistency guarantees that reads will return a subset of writes."
desc: "EVENTUAL Consistency guarantees that reads will return a subset of writes. ALL writes will be eventually be available for reads."
- uid: "com.azure.cosmos.ConsistencyLevel.SESSION"
fullName: "com.azure.cosmos.ConsistencyLevel.SESSION"
name: "SESSION"
nameWithType: "ConsistencyLevel.SESSION"
summary: "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."
desc: "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."
- uid: "com.azure.cosmos.ConsistencyLevel.STRONG"
fullName: "com.azure.cosmos.ConsistencyLevel.STRONG"
name: "STRONG"
nameWithType: "ConsistencyLevel.STRONG"
summary: "STRONG Consistency guarantees that read operations always return the value that was last written."
desc: "STRONG Consistency guarantees that read operations always return the value that was last written."
methods:
- uid: "com.azure.cosmos.ConsistencyLevel.toString()"
fullName: "com.azure.cosmos.ConsistencyLevel.toString()"
name: "toString()"
nameWithType: "ConsistencyLevel.toString()"
overridden: "java.lang.Enum.toString()"
syntax: "public String toString()"
returns:
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.ConsistencyLevel.valueOf(java.lang.String)"
fullName: "com.azure.cosmos.ConsistencyLevel.valueOf(String name)"
name: "valueOf(String name)"
nameWithType: "ConsistencyLevel.valueOf(String name)"
parameters:
- name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ConsistencyLevel valueOf(String name)"
returns:
type: "<xref href=\"com.azure.cosmos.ConsistencyLevel?alt=com.azure.cosmos.ConsistencyLevel&text=ConsistencyLevel\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.cosmos.ConsistencyLevel.values()"
fullName: "com.azure.cosmos.ConsistencyLevel.values()"
name: "values()"
nameWithType: "ConsistencyLevel.values()"
syntax: "public static ConsistencyLevel[] values()"
returns:
type: "<xref href=\"com.azure.cosmos.ConsistencyLevel?alt=com.azure.cosmos.ConsistencyLevel&text=ConsistencyLevel\" data-throw-if-not-resolved=\"False\" />[]"
desc: "Represents the consistency levels supported for Azure Cosmos DB client operations in the Azure Cosmos DB service.\n\nThe requested ConsistencyLevel must match or be weaker than that provisioned for the database account. Consistency levels by order of strength are STRONG, BOUNDED\\_STALENESS, SESSION and EVENTUAL. Refer to consistency level documentation for additional details: https://docs.microsoft.com/en-us/azure/cosmos-db/consistency-levels"
metadata: {}
package: "com.azure.cosmos"
artifact: com.azure:azure-cosmos:4.34.0