@Stability.Volatile public enum ConflictResolutionType extends Enum<ConflictResolutionType>
Enum Constant and Description |
---|
SEQUENCE_NUMBER |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
String |
alias() |
static ConflictResolutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictResolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConflictResolutionType TIMESTAMP
public static final ConflictResolutionType SEQUENCE_NUMBER
public static ConflictResolutionType[] values()
for (ConflictResolutionType c : ConflictResolutionType.values()) System.out.println(c);
public static ConflictResolutionType 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 String alias()
Copyright © 2020 Couchbase, Inc.. All rights reserved.