public static enum ReconfigurationRecord.RCStates extends java.lang.Enum<ReconfigurationRecord.RCStates>
Enum Constant and Description |
---|
READY
The default state and one of only two states from which
reconfiguration can be initiated, the other being READY_READY.
|
READY_READY
Waiting for AckDropEpoch for the previous epoch.
|
WAIT_ACK_START
Waiting for AckStartEpoch, for the incremented, current epoch that is
at least one higher than the epoch just before the transition.
|
WAIT_ACK_STOP
Waiting for AckStopEpoch, typically for the epoch that was READY just
before this state transition.
|
WAIT_DELETE
This is a pending delete state, i.e., we expect a deletion to occur
in the near future, but we can not delete it yet because
WaitAckDropEpoch may not have yet completed.
|
Modifier and Type | Method and Description |
---|---|
static ReconfigurationRecord.RCStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReconfigurationRecord.RCStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReconfigurationRecord.RCStates READY
public static final ReconfigurationRecord.RCStates WAIT_ACK_STOP
public static final ReconfigurationRecord.RCStates WAIT_ACK_START
public static final ReconfigurationRecord.RCStates READY_READY
public static final ReconfigurationRecord.RCStates WAIT_DELETE
public static ReconfigurationRecord.RCStates[] values()
for (ReconfigurationRecord.RCStates c : ReconfigurationRecord.RCStates.values()) System.out.println(c);
public static ReconfigurationRecord.RCStates 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