Documentation

DurabilityLevel

An object which contains levels of durability that can be enforced when using mutation operations.

Table of Contents

MAJORITY  = 1
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  = 2
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  = 0
Apply no durability level.
PERSIST_TO_MAJORITY  = 3
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 = 1

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 = 2

NONE

Apply no durability level.

public mixed NONE = 0

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 = 3

Search results