Package com.tangosol.util.fsm
Enum NonBlockingFiniteStateMachine.CoalescedEvent.Process
- java.lang.Object
-
- java.lang.Enum<NonBlockingFiniteStateMachine.CoalescedEvent.Process>
-
- com.tangosol.util.fsm.NonBlockingFiniteStateMachine.CoalescedEvent.Process
-
- All Implemented Interfaces:
Serializable
,Comparable<NonBlockingFiniteStateMachine.CoalescedEvent.Process>
- Enclosing class:
- NonBlockingFiniteStateMachine.CoalescedEvent<S extends Enum<S>>
public static enum NonBlockingFiniteStateMachine.CoalescedEvent.Process extends Enum<NonBlockingFiniteStateMachine.CoalescedEvent.Process>
TheNonBlockingFiniteStateMachine.CoalescedEvent
to process.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST
FIRST indicates that the first submittedEvent
for a specific discriminator will be the one which is processed.MOST_RECENT
MOST_RECENT indicates that the most recently submittedEvent
for a specified discriminator will be processed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
FIRST
public static final NonBlockingFiniteStateMachine.CoalescedEvent.Process FIRST
FIRST indicates that the first submittedEvent
for a specific discriminator will be the one which is processed. All other submittedNonBlockingFiniteStateMachine.CoalescedEvent
s of the same discriminator will be discarded.
-
MOST_RECENT
public static final NonBlockingFiniteStateMachine.CoalescedEvent.Process MOST_RECENT
-
-
Method Detail
-
values
public static NonBlockingFiniteStateMachine.CoalescedEvent.Process[] 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 (NonBlockingFiniteStateMachine.CoalescedEvent.Process c : NonBlockingFiniteStateMachine.CoalescedEvent.Process.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NonBlockingFiniteStateMachine.CoalescedEvent.Process 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
-
-