Enum Class ServerState

java.lang.Object
java.lang.Enum<ServerState>
org.jboss.as.server.ServerState
All Implemented Interfaces:
Serializable, Comparable<ServerState>, Constable

public enum ServerState extends Enum<ServerState>
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 Constants
    Enum Constant
    Description
    The server has sent the available command back to the HostController
    HostController has told the process controller to start the server and is waiting for the SERVER_AVAILABLE message back from the server
    We have received the SERVER_START_FAILED message
    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
    The server sent back the SERVER_STARTED message and is up and running
    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
    We have received the SERVER_STOPPED message
    HostController has told the server to stop and is waiting for the SERVER_STOPPED message
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returns the enum constant of this class with the specified name.
    static ServerState[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • BOOTING

      public static final ServerState BOOTING
      HostController has told the process controller to start the server and is waiting for the SERVER_AVAILABLE message back from the server
    • AVAILABLE

      public static final ServerState AVAILABLE
      The server has sent the available command back to the HostController
    • STARTING

      public static final ServerState 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

      public static final ServerState STARTED
      The server sent back the SERVER_STARTED message and is up and running
    • STOPPING

      public static final ServerState STOPPING
      HostController has told the server to stop and is waiting for the SERVER_STOPPED message
    • STOPPED

      public static final ServerState STOPPED
      We have received the SERVER_STOPPED message
    • FAILED

      public static final ServerState FAILED
      We have received the SERVER_START_FAILED message
    • MAX_FAILED

      public static final ServerState 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

      public static ServerState[] 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

      public static ServerState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isRestartOnReconnect

      public boolean isRestartOnReconnect()