DurabilityLevel
interface DurabilityLevel (View source)
An object which contains levels of durability that can be enforced when using mutation operations.
Constants
| NONE |
Apply no durability level. |
| 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 |
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. |
| PERSIST_TO_MAJORITY |
Apply a durability level where the document must be written to disk
on a majority of nodes in the cluster. |