Package org.jppf.job
Enum Class JobReturnReason
- All Implemented Interfaces:
Serializable,Comparable<JobReturnReason>,Constable
Enumeration of the possible reasons why a set of tasks is returned by a node in a given state.
- Since:
- 5.0
- 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 ConstantDescriptionThe processing of the tasks dispatched in the node took longer than the specified dispatch timeout.An error occurred in the driver while processing the results returned by the node.The connection between node and server was severed before the results could be returned.An error occurred in the node which prevented the normal execution of the tasks.The tasks were normally processed by the node. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobReturnReasonReturns the enum constant of this class with the specified name.static JobReturnReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESULTS_RECEIVED
The tasks were normally processed by the node. -
DISPATCH_TIMEOUT
The processing of the tasks dispatched in the node took longer than the specified dispatch timeout. -
NODE_PROCESSING_ERROR
An error occurred in the node which prevented the normal execution of the tasks. -
DRIVER_PROCESSING_ERROR
An error occurred in the driver while processing the results returned by the node. -
NODE_CHANNEL_ERROR
The connection between node and server was severed before the results could be returned.
-
-
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
-