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