Package org.jppf.job

Enum Class JobReturnReason

java.lang.Object
java.lang.Enum<JobReturnReason>
org.jppf.job.JobReturnReason
All Implemented Interfaces:
Serializable, Comparable<JobReturnReason>, Constable

public enum JobReturnReason extends Enum<JobReturnReason>
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
  • Enum Constant Details

    • RESULTS_RECEIVED

      public static final JobReturnReason RESULTS_RECEIVED
      The tasks were normally processed by the node.
    • DISPATCH_TIMEOUT

      public static final JobReturnReason DISPATCH_TIMEOUT
      The processing of the tasks dispatched in the node took longer than the specified dispatch timeout.
    • NODE_PROCESSING_ERROR

      public static final JobReturnReason NODE_PROCESSING_ERROR
      An error occurred in the node which prevented the normal execution of the tasks.
    • DRIVER_PROCESSING_ERROR

      public static final JobReturnReason DRIVER_PROCESSING_ERROR
      An error occurred in the driver while processing the results returned by the node.
    • NODE_CHANNEL_ERROR

      public static final JobReturnReason NODE_CHANNEL_ERROR
      The connection between node and server was severed before the results could be returned.
  • Method Details

    • values

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