public static enum SessionLocal.State extends java.lang.Enum<SessionLocal.State>
Enum Constant and Description |
---|
BLOCKED |
CLOSED |
INIT |
RUNNING |
SLEEP |
SUSPENDED |
THROTTLED |
Modifier and Type | Method and Description |
---|---|
static SessionLocal.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionLocal.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionLocal.State INIT
public static final SessionLocal.State RUNNING
public static final SessionLocal.State BLOCKED
public static final SessionLocal.State SLEEP
public static final SessionLocal.State THROTTLED
public static final SessionLocal.State SUSPENDED
public static final SessionLocal.State CLOSED
public static SessionLocal.State[] values()
for (SessionLocal.State c : SessionLocal.State.values()) System.out.println(c);
public static SessionLocal.State 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