public static enum Region.ExpirationAction extends Enum<Region.ExpirationAction>
Enum Constant and Description |
---|
DESTROY |
INVALIDATE |
LEGACY
for those other actions that could exist in cache.xml but not supported by management api
for example: LOCAL_DESTROY, LOCAL_INVALIDATE, eventually these should be removed from the
product as well.
|
Modifier and Type | Method and Description |
---|---|
static Region.ExpirationAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.ExpirationAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.ExpirationAction DESTROY
public static final Region.ExpirationAction INVALIDATE
public static final Region.ExpirationAction LEGACY
public static Region.ExpirationAction[] values()
for (Region.ExpirationAction c : Region.ExpirationAction.values()) System.out.println(c);
public static Region.ExpirationAction 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 null