Enum Class NodeLifeCycleEventType

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

public enum NodeLifeCycleEventType extends Enum<NodeLifeCycleEventType>
A type safe enumeration of all possible types of node life cycle events.
Author:
Laurent Cohen
  • Enum Constant Details

    • NODE_STARTING

      public static final NodeLifeCycleEventType NODE_STARTING
      The node is starting and before any job processing.
    • NODE_ENDING

      public static final NodeLifeCycleEventType NODE_ENDING
      The node is disconnected from the server.
    • JOB_HEADER_LOADED

      public static final NodeLifeCycleEventType JOB_HEADER_LOADED
      After the job header was loaded from the server and before the data provider and tasks are loaded.
    • JOB_STARTING

      public static final NodeLifeCycleEventType JOB_STARTING
      Before the processing of the job.
    • JOB_ENDING

      public static final NodeLifeCycleEventType JOB_ENDING
      After a job processing is complete.
    • BEFORE_NEXT_JOB

      public static final NodeLifeCycleEventType BEFORE_NEXT_JOB
      After the node has sent the results of a job to the server, and before it receives the next job.
  • Method Details

    • values

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