public static enum Region.EvictionType extends Enum<Region.EvictionType>
Enum Constant and Description |
---|
ENTRY_COUNT |
HEAP_PERCENTAGE |
MEMORY_SIZE |
Modifier and Type | Method and Description |
---|---|
static Region.EvictionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region.EvictionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region.EvictionType ENTRY_COUNT
public static final Region.EvictionType MEMORY_SIZE
public static final Region.EvictionType HEAP_PERCENTAGE
public static Region.EvictionType[] values()
for (Region.EvictionType c : Region.EvictionType.values()) System.out.println(c);
public static Region.EvictionType 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