Enum EntryProcessorEvent.Type
- java.lang.Object
-
- java.lang.Enum<EntryProcessorEvent.Type>
-
- com.tangosol.net.events.partition.cache.EntryProcessorEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<EntryProcessorEvent.Type>
- Enclosing interface:
- EntryProcessorEvent
public static enum EntryProcessorEvent.Type extends Enum<EntryProcessorEvent.Type>
TheEntryProcessorEvent
types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXECUTED
ThisEntryProcessorEvent
is dispatched after anInvocableMap.EntryProcessor
has been executed.EXECUTING
ThisEntryProcessorEvent
is raised prior to executing anInvocableMap.EntryProcessor
on a set of entries.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EntryProcessorEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntryProcessorEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXECUTING
public static final EntryProcessorEvent.Type EXECUTING
ThisEntryProcessorEvent
is raised prior to executing anInvocableMap.EntryProcessor
on a set of entries.The following holds:
- The
InvocableMap.EntryProcessor
provided for this event type is mutable. The processor could be shared across threads, so processor implementations modified in this fashion must ensure thread-safety - A lock will be held for each Entry during the processing of this event preventing concurrent updates
- Throwing an exception from this event will prevent the operation from being committed
- The
-
EXECUTED
public static final EntryProcessorEvent.Type EXECUTED
ThisEntryProcessorEvent
is dispatched after anInvocableMap.EntryProcessor
has been executed.
-
-
Method Detail
-
values
public static EntryProcessorEvent.Type[] 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 (EntryProcessorEvent.Type c : EntryProcessorEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EntryProcessorEvent.Type 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
-
-