Enum GetAllMutationTokensRequest.PartitionState
- java.lang.Object
-
- java.lang.Enum<GetAllMutationTokensRequest.PartitionState>
-
- com.couchbase.client.core.message.kv.GetAllMutationTokensRequest.PartitionState
-
- All Implemented Interfaces:
Serializable
,Comparable<GetAllMutationTokensRequest.PartitionState>
- Enclosing class:
- GetAllMutationTokensRequest
public static enum GetAllMutationTokensRequest.PartitionState extends Enum<GetAllMutationTokensRequest.PartitionState>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
value()
static GetAllMutationTokensRequest.PartitionState
valueOf(String name)
Returns the enum constant of this type with the specified name.static GetAllMutationTokensRequest.PartitionState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final GetAllMutationTokensRequest.PartitionState ANY
Any live state (except DEAD).
-
ACTIVE
public static final GetAllMutationTokensRequest.PartitionState ACTIVE
Actively servicing a partition.
-
REPLICA
public static final GetAllMutationTokensRequest.PartitionState REPLICA
Servicing a partition as a replica only.
-
PENDING
public static final GetAllMutationTokensRequest.PartitionState PENDING
Pending active.
-
DEAD
public static final GetAllMutationTokensRequest.PartitionState DEAD
Not in use, pending deletion.
-
-
Method Detail
-
values
public static GetAllMutationTokensRequest.PartitionState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GetAllMutationTokensRequest.PartitionState c : GetAllMutationTokensRequest.PartitionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetAllMutationTokensRequest.PartitionState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()
-
-