Enum Class EntryEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<EntryEvent.Type>
,Constable
- Enclosing interface:
EntryEvent<K,
V>
The
EntryEvent
types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been inserted into the backing-map.ThisEntryEvent
is dispatched before one or moreBinaryEntry
(s) are inserted into the backing-map.ThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been removed from the backing-map.ThisEntryEvent
is dispatched before aBinaryEntry
has been removed from backing-map.ThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been updated in the backing-map.ThisEntryEvent
is dispatched before aBinaryEntry
is updated in backing-map. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntryEvent.Type
Returns the enum constant of this class with the specified name.static EntryEvent.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERTING
ThisEntryEvent
is dispatched before one or moreBinaryEntry
(s) are inserted into the backing-map.The following holds:
- The BinaryEntry(s) provided for this event type are mutable
- 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
-
INSERTED
ThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been inserted into the backing-map. This event is raised after the insert has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred. -
UPDATING
ThisEntryEvent
is dispatched before aBinaryEntry
is updated in backing-map.The following holds:
- The BinaryEntry provided for this event type is mutable
- A lock will be held for each Entry during the processing of this event preventing concurrent updates
- Throwing an exception from this type of event will prevent the operation from being committed
-
UPDATED
ThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been updated in the backing-map. This event is raised after the update has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred. -
REMOVING
ThisEntryEvent
is dispatched before aBinaryEntry
has been removed from backing-map.The following holds:
- The BinaryEntry provided for this event type is mutable
- A lock will be held for each Entry during the processing of this event preventing concurrent updates
- Throwing an exception from this type of event will prevent the operation from being committed
-
REMOVED
ThisEntryEvent
is dispatched after one or moreBinaryEntry
(s) have been removed from the backing-map. This event is raised after the removal has been committed. The BinaryEntry(s) provided for this event type are immutable. For a given BinaryEntry, events will be raised in the same order as the changes occurred.
-
-
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
-