public static enum CacheEvent.EVENT extends Enum<CacheEvent.EVENT>
Enum Constant and Description |
---|
ELEMENT_EVICTED
缓存元素被驱逐
|
ELEMENT_EXPIRED
缓存元素过期
|
ELEMENT_PUT
缓存元素添加
|
ELEMENT_REMOVED
缓存元素移除
|
ELEMENT_REMOVED_ALL
缓存元素被清空
|
ELEMENT_UPDATED
缓存元素更新
|
Modifier and Type | Method and Description |
---|---|
static CacheEvent.EVENT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheEvent.EVENT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheEvent.EVENT ELEMENT_PUT
public static final CacheEvent.EVENT ELEMENT_UPDATED
public static final CacheEvent.EVENT ELEMENT_EXPIRED
public static final CacheEvent.EVENT ELEMENT_EVICTED
public static final CacheEvent.EVENT ELEMENT_REMOVED
public static final CacheEvent.EVENT ELEMENT_REMOVED_ALL
public static CacheEvent.EVENT[] values()
for (CacheEvent.EVENT c : CacheEvent.EVENT.values()) System.out.println(c);
public static CacheEvent.EVENT valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.