java.io.Serializable
, java.lang.Comparable<SequenceState>
, java.lang.constant.Constable
public enum SequenceState extends java.lang.Enum<SequenceState>
Enum Constant | Description |
---|---|
CLOSED |
Sequence is closed.
|
CLOSING |
Sequence is in the process of being closed.
|
CREATED |
Sequence handshaking is complete.
|
CREATING |
Sequence creation handshaking is in progress.
|
LAST_MESSAGE |
Deprecated.
RM 1.0 only
|
LAST_MESSAGE_PENDING |
Deprecated.
RM 1.0 only
|
NEW |
Initial state of a sequence.
|
TERMINATED |
Sequence is terminated.
|
TERMINATING |
Sequence is in the process of being terminated.
|
Modifier and Type | Method | Description |
---|---|---|
static boolean |
isClosedState(SequenceState state) |
|
static boolean |
isTerminalState(SequenceState state) |
|
boolean |
isValidTransition(SequenceState state) |
public static final SequenceState NEW
public static final SequenceState CREATING
public static final SequenceState CREATED
public static final SequenceState LAST_MESSAGE_PENDING
public static final SequenceState LAST_MESSAGE
public static final SequenceState CLOSING
public static final SequenceState CLOSED
public static final SequenceState TERMINATING
public static final SequenceState TERMINATED
public boolean isValidTransition(SequenceState state)
public static boolean isTerminalState(SequenceState state)
public static boolean isClosedState(SequenceState state)