Enum Constant and Description |
---|
CREATED
Represents a new
Cache.Entry being installed for a given key |
EVICTED
Represents a
Cache.Entry being evicted |
EXPIRED
Represents a
Cache.Entry expiring |
REMOVED
Represents a
Cache.Entry being removed |
UPDATED
Represents an existing
Cache.Entry being updated for a given key |
Modifier and Type | Method and Description |
---|---|
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType EVICTED
Cache.Entry
being evictedpublic static final EventType EXPIRED
Cache.Entry
expiringpublic static final EventType REMOVED
Cache.Entry
being removedpublic static final EventType CREATED
Cache.Entry
being installed for a given keypublic static final EventType UPDATED
Cache.Entry
being updated for a given keypublic static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null