DurabilityLevel
in
An object which contains levels of durability that can be enforced when using mutation operations.
Table of Contents
- MAJORITY = "majority"
- Apply a durability level where the document must be written to memory on a majority of nodes in the cluster.
- MAJORITY_AND_PERSIST_TO_ACTIVE = "majorityAndPersistToActive"
- Apply a durability level where the document must be written to memory on a majority of nodes in the cluster and written to disk on the active node.
- NONE = "none"
- Apply no durability level.
- PERSIST_TO_MAJORITY = "persistToMajority"
- Apply a durability level where the document must be written to disk on a majority of nodes in the cluster.
Constants
MAJORITY
Apply a durability level where the document must be written to memory on a majority of nodes in the cluster.
public
mixed
MAJORITY
= "majority"
MAJORITY_AND_PERSIST_TO_ACTIVE
Apply a durability level where the document must be written to memory on a majority of nodes in the cluster and written to disk on the active node.
public
mixed
MAJORITY_AND_PERSIST_TO_ACTIVE
= "majorityAndPersistToActive"
NONE
Apply no durability level.
public
mixed
NONE
= "none"
PERSIST_TO_MAJORITY
Apply a durability level where the document must be written to disk on a majority of nodes in the cluster.
public
mixed
PERSIST_TO_MAJORITY
= "persistToMajority"