Uses of Enum
com.couchbase.client.java.kv.PersistTo
-
Uses of PersistTo in com.couchbase.client.java.kv
Modifier and TypeMethodDescriptionCommonDurabilityOptions.BuiltCommonDurabilityOptions.persistTo()
Returns the persistence durability setting if provided.static PersistTo
Returns the enum constant of this type with the specified name.static PersistTo[]
PersistTo.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionCommonDurabilityOptions.durability
(PersistTo persistTo, ReplicateTo replicateTo) Allows to customize the poll-based durability requirements for this operation.static <T extends MutationResult>
CompletableFuture<T>DurabilityUtils.wrapWithDurability
(CompletableFuture<T> input, String key, PersistTo persistTo, ReplicateTo replicateTo, Core core, KeyValueRequest<?> request, boolean remove) Helper method to wrap a mutation result to perform durability requirements if needed.