Enum Class ConnectionReason

java.lang.Object
java.lang.Enum<ConnectionReason>
org.jppf.node.connection.ConnectionReason
All Implemented Interfaces:
Serializable, Comparable<ConnectionReason>, Constable

public enum ConnectionReason extends Enum<ConnectionReason>
This enum lists the possible high-level reasons for a node reconnection request.
Since:
4.1
Author:
Laurent Cohen
  • Enum Constant Details

    • INITIAL_CONNECTION_REQUEST

      public static final ConnectionReason INITIAL_CONNECTION_REQUEST
      Indicates the first connection attempt when the node starts up.
    • MANAGEMENT_REQUEST

      public static final ConnectionReason MANAGEMENT_REQUEST
      A reconnection was requested via the management APIs or admin console.
    • CLASSLOADER_INIT_ERROR

      public static final ConnectionReason CLASSLOADER_INIT_ERROR
      An error occurred while initializing the class loader connection.
    • CLASSLOADER_PROCESSING_ERROR

      public static final ConnectionReason CLASSLOADER_PROCESSING_ERROR
      An error occurred while processing a class loader request.
    • JOB_CHANNEL_INIT_ERROR

      public static final ConnectionReason JOB_CHANNEL_INIT_ERROR
      An error occurred during the job channel initialization.
    • JOB_CHANNEL_PROCESSING_ERROR

      public static final ConnectionReason JOB_CHANNEL_PROCESSING_ERROR
      An error occurred on the job channel while processing a job.
    • HEARTBEAT_FAILURE

      public static final ConnectionReason HEARTBEAT_FAILURE
      The heartbeat mechanism failed to receive a message from the server in a configured time frame.
  • Method Details

    • values

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