public enum PartitionMode extends java.lang.Enum<PartitionMode>
Enum Constant and Description |
---|
DONE |
QUERY_CHANGE_STREAM |
STOP |
UPDATE_STATE |
WAIT_FOR_CHILD_PARTITIONS |
Modifier and Type | Method and Description |
---|---|
static PartitionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartitionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartitionMode UPDATE_STATE
public static final PartitionMode QUERY_CHANGE_STREAM
public static final PartitionMode WAIT_FOR_CHILD_PARTITIONS
public static final PartitionMode DONE
public static final PartitionMode STOP
public static PartitionMode[] values()
for (PartitionMode c : PartitionMode.values()) System.out.println(c);
public static PartitionMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null