public static enum AbstractServer.ServerState extends Enum<AbstractServer.ServerState>
Modifier and Type | Method and Description |
---|---|
static AbstractServer.ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractServer.ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractServer.ServerState READY
public static final AbstractServer.ServerState NOT_READY
public static final AbstractServer.ServerState SHUTDOWN
public static AbstractServer.ServerState[] values()
for (AbstractServer.ServerState c : AbstractServer.ServerState.values()) System.out.println(c);
public static AbstractServer.ServerState 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 © 2019 CorfuDB. All rights reserved.