public static enum CacheEvent.CacheEventType extends Enum<CacheEvent.CacheEventType>
Enum Constant and Description |
---|
ALL
This type means that all caches need to be cleared.
|
GROUP
This type means that only a cache for a specific group (table) needs to be cleared.
|
Modifier and Type | Method and Description |
---|---|
static CacheEvent.CacheEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheEvent.CacheEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheEvent.CacheEventType ALL
public static final CacheEvent.CacheEventType GROUP
public static CacheEvent.CacheEventType[] values()
for (CacheEvent.CacheEventType c : CacheEvent.CacheEventType.values()) System.out.println(c);
public static CacheEvent.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 nameNullPointerException
- if the argument is nullCopyright © 2020 JavaLite. All rights reserved.