public static enum Configuration.AllocationModel extends java.lang.Enum<Configuration.AllocationModel>
Enum Constant and Description |
---|
CACHE_ALL |
CACHE_HOST |
DIRECT |
Modifier and Type | Method and Description |
---|---|
static Configuration.AllocationModel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Configuration.AllocationModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Configuration.AllocationModel DIRECT
public static final Configuration.AllocationModel CACHE_HOST
public static final Configuration.AllocationModel CACHE_ALL
public static Configuration.AllocationModel[] values()
for (Configuration.AllocationModel c : Configuration.AllocationModel.values()) System.out.println(c);
public static Configuration.AllocationModel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null