Companion

object Companion

Functions

Link copied to clipboard
fun clientVerified(persistTo: PersistTo, replicateTo: ReplicateTo = ReplicateTo.NONE): Durability

The client will poll the server until the specified durability requirements are observed.

Link copied to clipboard

The SDK will report success as soon as the node hosting the active partition has the mutation in memory (but not necessarily persisted to disk).

Link copied to clipboard
@SinceCouchbase(value = "6.5")
fun majority(): Durability

The mutation must be replicated to (that is, held in the memory allocated to the bucket on) a majority of the Data Service nodes.

Link copied to clipboard
@SinceCouchbase(value = "6.5")
fun majorityAndPersistToActive(): Durability

The mutation must be replicated to a majority of the Data Service nodes.

Link copied to clipboard

The SDK will report success as soon as the node hosting the active partition has the mutation in memory (but not necessarily persisted to disk).

Link copied to clipboard
@SinceCouchbase(value = "6.5")
fun persistToMajority(): Durability

The mutation must be persisted to a majority of the Data Service nodes.