public static enum NioManagerThread.NioManagerThreadStatus extends Enum<NioManagerThread.NioManagerThreadStatus>
Enum Constant and Description |
---|
CLOSED
The thread has shut down.
|
CLOSING
The thread is in the process of shutting down.
|
RUN
The thread is running.
|
Modifier and Type | Method and Description |
---|---|
static NioManagerThread.NioManagerThreadStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NioManagerThread.NioManagerThreadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NioManagerThread.NioManagerThreadStatus RUN
public static final NioManagerThread.NioManagerThreadStatus CLOSING
public static final NioManagerThread.NioManagerThreadStatus CLOSED
public static NioManagerThread.NioManagerThreadStatus[] values()
for (NioManagerThread.NioManagerThreadStatus c : NioManagerThread.NioManagerThreadStatus.values()) System.out.println(c);
public static NioManagerThread.NioManagerThreadStatus 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