Package org.jboss.as.server
Enum Class ServerState
- All Implemented Interfaces:
Serializable,Comparable<ServerState>,Constable
- Author:
- Kabir Khan
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe server has sent the available command back to the HostControllerHostController has told the process controller to start the server and is waiting for the SERVER_AVAILABLE message back from the serverWe have received the SERVER_START_FAILED messageWe have tried to restart the server several times and received the SERVER_START_FAILED message more times than defined in the max respawn policyThe server sent back the SERVER_STARTED message and is up and runningHostController 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 messageWe have received the SERVER_STOPPED messageHostController has told the server to stop and is waiting for the SERVER_STOPPED message -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ServerStateReturns the enum constant of this class with the specified name.static ServerState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOTING
HostController has told the process controller to start the server and is waiting for the SERVER_AVAILABLE message back from the server -
AVAILABLE
The server has sent the available command back to the HostController -
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 -
STARTED
The server sent back the SERVER_STARTED message and is up and running -
STOPPING
HostController has told the server to stop and is waiting for the SERVER_STOPPED message -
STOPPED
We have received the SERVER_STOPPED message -
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
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
isRestartOnReconnect
public boolean isRestartOnReconnect()
-