new Durability() → {Durability}
Defines the durability characteristics associated with a standalone write
(put or update) operation, or in the case of KVStore.execute with a set of
operations performed in a single transaction. The overall durability is a
function of the SyncPolicy and ReplicaAckPolicy in effect for the Master,
and the Durability.SyncPolicy in effect for each Replica.
Properties:
Name | Type | Description |
---|---|---|
masterSync |
SyncPolicy | The transaction synchronization policy to be used on the Master when committing a transaction. |
replicaAck |
ReplicaAckPolicy | The replica acknowledgment policy used by the master when committing changes to a replicated environment. |
replicaSync |
SyncPolicy | The transaction synchronization policy to be used by the replica as it replays a transaction that needs an acknowledgment. |
Returns:
- Type
- Durability