Package com.hazelcast.core
Enum Class EntryEventType
- All Implemented Interfaces:
Serializable
,Comparable<EntryEventType>
,Constable
Type of entry event.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFired if an entry is added.Fired if all entries are cleared.Fired if all entries are evicted.Fired if an entry is evicted.Fired if an entry is expired.Fired if an entry is invalidated.Fired if an entry is loaded.Fired if an entry is merged after a network partition.Fired if an entry is removed.Fired if an entry is updated. -
Method Summary
Modifier and TypeMethodDescriptionstatic EntryEventType
getByType
(int typeId) int
getType()
static EntryEventType
Returns the enum constant of this class with the specified name.static EntryEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDED
Fired if an entry is added. -
REMOVED
Fired if an entry is removed. -
UPDATED
Fired if an entry is updated. -
EVICTED
Fired if an entry is evicted. -
EXPIRED
Fired if an entry is expired. -
EVICT_ALL
Fired if all entries are evicted. -
CLEAR_ALL
Fired if all entries are cleared. -
MERGED
Fired if an entry is merged after a network partition. -
INVALIDATION
Fired if an entry is invalidated. -
LOADED
Fired if an entry is loaded.
-
-
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
-
getType
public int getType()- Returns:
- the event type ID
-
getByType
- Returns:
- the matching EntryEventType for the supplied
typeId
ornull
if there is no match
-