Class Consistency
Consistency is used to provide consistency guarantees for read
operations.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public sealed class Consistency : Enum
Remarks
Absolute consistency may be specified to guarantee that current values are read. Eventual consistency means that the values read may be very slightly out of date. Absolute consistency results in higher cost, consuming twice the number of read units for the same data relative to Eventual consistency, and should only be used when required.
It is possible to set a default Consistency for a NoSQLClient instance by providing it in the initial configuration as Consistency. In JSON configuration file, you may use string values "Eventual" or "Absolute". If no consistency is specified for an operation and there is no default value, Eventual is used.
Consistency may be specified in options for all read operations.
Fields
Name | Description |
---|---|
Absolute | Absolute consistency. |
Eventual | Eventual consistency. |
value__ |