public enum ServerState extends Enum<ServerState>
Enum Constant and Description |
---|
AVAILABLE
The server has sent the available command back to the HostController
|
BOOTING
HostController has told the process controller to start the server and is waiting for the SERVER_AVAILABLE message back from the server
|
FAILED
We have received the SERVER_START_FAILED message
|
MAX_FAILED
We have tried to restart the server several times and received the SERVER_START_FAILED message
more times than defined in the max respawn policy
|
STARTED
The server sent back the SERVER_STARTED message and is up and running
|
STARTING
HostController has received the SERVER_AVAILABLE message from the server process, has sent the config
to the server and is waiting for the SERVER_STARTED or SERVER_FAILED message
|
STOPPED
We have received the SERVER_STOPPED message
|
STOPPING
HostController has told the server to stop and is waiting for the SERVER_STOPPED message
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRestartOnReconnect() |
static ServerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerState BOOTING
public static final ServerState AVAILABLE
public static final ServerState STARTING
public static final ServerState STARTED
public static final ServerState STOPPING
public static final ServerState STOPPED
public static final ServerState FAILED
public static final ServerState MAX_FAILED
public static ServerState[] values()
for (ServerState c : ServerState.values()) System.out.println(c);
public static 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 nullpublic boolean isRestartOnReconnect()
Copyright © 2023 JBoss by Red Hat. All rights reserved.