public static enum EventLoop.State extends Enum<EventLoop.State>
Enum Constant and Description |
---|
ACTIVE
The nested loop represented by this object is currently running.
|
IDLE
A free EventLoop object that can be used to start a new nested event loop.
|
LEAVING
The nested loop has been requested to leave.
|
Modifier and Type | Method and Description |
---|---|
static EventLoop.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventLoop.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLoop.State IDLE
public static final EventLoop.State ACTIVE
public static final EventLoop.State LEAVING
public static EventLoop.State[] values()
for (EventLoop.State c : EventLoop.State.values()) System.out.println(c);
public static EventLoop.State 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 nullCopyright © 2020. All rights reserved.