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