@Stability.Internal public enum ReplaceAccessor extends Enum<ReplaceAccessor>
Modifier and Type | Method and Description |
---|---|
static CompletableFuture<MutationResult> |
replace(Core core,
ReplaceRequest request,
String key,
PersistTo persistTo,
ReplicateTo replicateTo) |
static ReplaceAccessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplaceAccessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ReplaceAccessor[] values()
for (ReplaceAccessor c : ReplaceAccessor.values()) System.out.println(c);
public static ReplaceAccessor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CompletableFuture<MutationResult> replace(Core core, ReplaceRequest request, String key, PersistTo persistTo, ReplicateTo replicateTo)
Copyright © 2020 Couchbase, Inc.. All rights reserved.