Enum Class 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>
,Constable
- Enclosing interface:
EntryProcessorEvent
The
EntryProcessorEvent
types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThisEntryProcessorEvent
is dispatched after anInvocableMap.EntryProcessor
has been executed.ThisEntryProcessorEvent
is raised prior to executing anInvocableMap.EntryProcessor
on a set of entries. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntryProcessorEvent.Type
Returns the enum constant of this class with the specified name.static EntryProcessorEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
ThisEntryProcessorEvent
is dispatched after anInvocableMap.EntryProcessor
has been executed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-