public static enum NonBlockingFiniteStateMachine.CoalescedEvent.Process extends Enum<NonBlockingFiniteStateMachine.CoalescedEvent.Process>
NonBlockingFiniteStateMachine.CoalescedEvent to process.| Enum Constant and Description |
|---|
FIRST
FIRST indicates that the first submitted
Event
for a specific discriminator will be the one which is
processed. |
MOST_RECENT
MOST_RECENT indicates that the most recently
submitted
Event for a specified discriminator will be
processed. |
| Modifier and Type | Method and Description |
|---|---|
static NonBlockingFiniteStateMachine.CoalescedEvent.Process |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NonBlockingFiniteStateMachine.CoalescedEvent.Process[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NonBlockingFiniteStateMachine.CoalescedEvent.Process FIRST
Event
for a specific discriminator will be the one which is
processed. All other submitted NonBlockingFiniteStateMachine.CoalescedEvents of the
same discriminator will be discarded.public static final NonBlockingFiniteStateMachine.CoalescedEvent.Process MOST_RECENT
public static NonBlockingFiniteStateMachine.CoalescedEvent.Process[] values()
for (NonBlockingFiniteStateMachine.CoalescedEvent.Process c : NonBlockingFiniteStateMachine.CoalescedEvent.Process.values()) System.out.println(c);
public static NonBlockingFiniteStateMachine.CoalescedEvent.Process 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 null