Class Durability
On-Premise only.
Durability specifies the master and replica sync and ack policies to
be used for a write operation.
Implements
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public sealed class Durability : ValueType
Remarks
Durability applies to Put operations, executed by
PutAsync(String, MapValue, PutOptions, CancellationToken) and its variants, Delete
operations, executed by DeleteAsync(String, MapValue, DeleteOptions, CancellationToken) and its
variants, DeleteRange operations executed by
DeleteRangeAsync and its
variants, WriteMany operations executed by
WriteManyAsync and its
variants and Query operations executed by
QueryAsync and its
variants for update queries.
Constructors
Name | Description |
---|---|
Durability(SyncPolicy, SyncPolicy, ReplicaAckPolicy) | Initializes a new instance of Durability structure using specified Master and Replica sync policies and Replica acknowledgement policy. |
Fields
Name | Description |
---|---|
CommitNoSync | Represents a durability policy with NoSync for Master commit synchronization. |
CommitSync | Represents a durability policy with Sync for Master commit synchronization. |
CommitWriteNoSync | Represents a durability policy with WriteNoSync for Master commit synchronization. |
Properties
Name | Description |
---|---|
MasterSync | Gets the transaction synchronization policy to be used on the Master node when committing a transaction. |
ReplicaAck | Gets the replica acknowledgment policy used by the master when committing changes to a replicated environment. |
ReplicaSync | Gets the transaction synchronization policy to be used by the Replica node as it replays a transaction that needs an acknowledgment. |
Methods
Name | Description |
---|---|
Equals(Durability) | Returns a value indicating whether the value of this instance is equal to the value of the specified Durability instance. |
Equals(Object) | |
GetHashCode() |
Operators
Name | Description |
---|---|
Equality(Durability, Durability) | Determines whether two instances of Durability are equal. |
Inequality(Durability, Durability) | Determines whether two instances of Durability are not equal. |