Package org.jppf.node.connection
Enum Class ConnectionReason
- All Implemented Interfaces:
Serializable,Comparable<ConnectionReason>,Constable
This enum lists the possible high-level reasons for a node reconnection request.
- Since:
- 4.1
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn error occurred while initializing the class loader connection.An error occurred while processing a class loader request.The heartbeat mechanism failed to receive a message from the server in a configured time frame.Indicates the first connection attempt when the node starts up.An error occurred during the job channel initialization.An error occurred on the job channel while processing a job.A reconnection was requested via the management APIs or admin console. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionReasonReturns the enum constant of this class with the specified name.static ConnectionReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL_CONNECTION_REQUEST
Indicates the first connection attempt when the node starts up. -
MANAGEMENT_REQUEST
A reconnection was requested via the management APIs or admin console. -
CLASSLOADER_INIT_ERROR
An error occurred while initializing the class loader connection. -
CLASSLOADER_PROCESSING_ERROR
An error occurred while processing a class loader request. -
JOB_CHANNEL_INIT_ERROR
An error occurred during the job channel initialization. -
JOB_CHANNEL_PROCESSING_ERROR
An error occurred on the job channel while processing a job. -
HEARTBEAT_FAILURE
The heartbeat mechanism failed to receive a message from the server in a configured time frame.
-
-
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
-