Package | Description |
---|---|
com.couchbase.client.java.kv |
Namespace for various kv-service related classes.
|
Modifier and Type | Method and Description |
---|---|
PersistTo |
CommonDurabilityOptions.BuiltCommonDurabilityOptions.persistTo()
Returns the persistence durability setting if provided.
|
static PersistTo |
PersistTo.valueOf(String name)
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 Type | Method and Description |
---|---|
SELF |
CommonDurabilityOptions.durability(PersistTo persistTo,
ReplicateTo replicateTo)
Allows to customize the poll-based durability requirements for this operation.
|
static <T extends MutationResult> |
DurabilityUtils.wrapWithDurability(CompletableFuture<T> input,
String key,
PersistTo persistTo,
ReplicateTo replicateTo,
com.couchbase.client.core.Core core,
com.couchbase.client.core.msg.kv.KeyValueRequest<?> request,
boolean remove)
Helper method to wrap a mutation result to perform durability requirements if needed.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.