Package org.jppf.node.event
Enum Class NodeLifeCycleEventType
- All Implemented Interfaces:
Serializable,Comparable<NodeLifeCycleEventType>,Constable
A type safe enumeration of all possible types of node life cycle events.
- 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 ConstantDescriptionAfter the node has sent the results of a job to the server, and before it receives the next job.After a job processing is complete.After the job header was loaded from the server and before the data provider and tasks are loaded.Before the processing of the job.The node is disconnected from the server.The node is starting and before any job processing. -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeLifeCycleEventTypeReturns the enum constant of this class with the specified name.static NodeLifeCycleEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NODE_STARTING
The node is starting and before any job processing. -
NODE_ENDING
The node is disconnected from the server. -
JOB_HEADER_LOADED
After the job header was loaded from the server and before the data provider and tasks are loaded. -
JOB_STARTING
Before the processing of the job. -
JOB_ENDING
After a job processing is complete. -
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
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
-