public static enum ServerStatus.STATUS extends Enum<ServerStatus.STATUS>
Enum Constant and Description |
---|
ERROR |
HIT_MAX_FILES |
INITIALIZING |
OFF |
OPERATING |
PARENT_EXCEPTION |
PARENT_REQUESTED_SHUTDOWN |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
static ServerStatus.STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerStatus.STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerStatus.STATUS INITIALIZING
public static final ServerStatus.STATUS OPERATING
public static final ServerStatus.STATUS HIT_MAX_FILES
public static final ServerStatus.STATUS TIMEOUT
public static final ServerStatus.STATUS ERROR
public static final ServerStatus.STATUS PARENT_REQUESTED_SHUTDOWN
public static final ServerStatus.STATUS PARENT_EXCEPTION
public static final ServerStatus.STATUS OFF
public static ServerStatus.STATUS[] values()
for (ServerStatus.STATUS c : ServerStatus.STATUS.values()) System.out.println(c);
public static ServerStatus.STATUS 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 © 2007–2023 The Apache Software Foundation. All rights reserved.