|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CacheEventType> com.hazelcast.cache.impl.CacheEventType
public enum CacheEventType
Hazelcast JCache implementation's internal event types. This enum type is an extension to EventType
to define more event types.
Enum Constant Summary | |
---|---|
COMPLETED
An event type indicating that the cache operation has completed. |
|
CREATED
An event type indicating that the cache entry was created. |
|
EVICTED
An event type indicating that the cache entry has evicted. |
|
EXPIRED
An event type indicating that the cache entry has expired. |
|
INVALIDATED
An event type indicating that the cache entry has invalidated for near cache invalidation. |
|
REMOVED
An event type indicating that the cache entry was removed. |
|
UPDATED
An event type indicating that the cache entry was updated, i.e. |
Method Summary | |
---|---|
static javax.cache.event.EventType |
convertToEventType(CacheEventType cacheEventType)
Converts a CacheEventType into EventType . |
static CacheEventType |
getByType(int eventType)
|
int |
getType()
|
static CacheEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CacheEventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CacheEventType CREATED
public static final CacheEventType UPDATED
public static final CacheEventType REMOVED
public static final CacheEventType EXPIRED
public static final CacheEventType EVICTED
public static final CacheEventType INVALIDATED
public static final CacheEventType COMPLETED
Method Detail |
---|
public static CacheEventType[] values()
for (CacheEventType c : CacheEventType.values()) System.out.println(c);
public static CacheEventType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getType()
public static CacheEventType getByType(int eventType)
public static javax.cache.event.EventType convertToEventType(CacheEventType cacheEventType)
CacheEventType
into EventType
.
Just an Enum type conversion takes place.
cacheEventType
- a CacheEventType
.
EventType
enum.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |