public enum IOReactorStatus extends Enum<IOReactorStatus>
Enum Constant and Description |
---|
ACTIVE
The reactor is active / processing I/O events.
|
INACTIVE
The reactor is inactive / has not been started
|
SHUT_DOWN
The reactor has shut down.
|
SHUTTING_DOWN
The reactor is shutting down.
|
Modifier and Type | Method and Description |
---|---|
static IOReactorStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOReactorStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOReactorStatus INACTIVE
public static final IOReactorStatus ACTIVE
public static final IOReactorStatus SHUTTING_DOWN
public static final IOReactorStatus SHUT_DOWN
public static IOReactorStatus[] values()
for (IOReactorStatus c : IOReactorStatus.values()) System.out.println(c);
public static IOReactorStatus 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 © 2005–2021 The Apache Software Foundation. All rights reserved.