Package com.couchbase.client.core.api.kv
Class CoreDurability
java.lang.Object
com.couchbase.client.core.api.kv.CoreDurability
Either a synchronous
DurabilityLevel
, or "persist to and replicate to" for legacy durability.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isLegacy()
boolean
isNone()
boolean
static CoreDurability
of
(DurabilityLevel level) static CoreDurability
of
(Observe.ObservePersistTo persistTo, Observe.ObserveReplicateTo replicateTo) toString()
-
Field Details
-
NONE
-
-
Method Details
-
of
-
of
public static CoreDurability of(Observe.ObservePersistTo persistTo, Observe.ObserveReplicateTo replicateTo) -
isNone
public boolean isNone() -
isLegacy
public boolean isLegacy() -
isPersistent
public boolean isPersistent() -
levelIfSynchronous
-
legacyPersistTo
-
legacyReplicateTo
-
toString
-