public static enum Pool.Event extends java.lang.Enum<Pool.Event>
Modifier and Type | Method and Description |
---|---|
static Pool.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pool.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pool.Event FULL
public static final Pool.Event IDLE
public static final Pool.Event AGED
public static final Pool.Event FLUSHED
public static final Pool.Event GC
public static Pool.Event[] values()
for (Pool.Event c : Pool.Event.values()) System.out.println(c);
public static Pool.Event 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