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