org.jppf.node.event
Class NodeLifeCycleEvent
java.lang.Object
java.util.EventObject
org.jppf.node.event.NodeLifeCycleEvent
- All Implemented Interfaces:
- Serializable
public class NodeLifeCycleEvent
- extends EventObject
Instances of this class represent node life cycle events
- Author:
- Laurent Cohen
- See Also:
- Serialized Form
NodeLifeCycleEvent
public NodeLifeCycleEvent(NodeExecutionManager executionManager)
- Initialize this event with the specified execution manager.
- Parameters:
executionManager - the execution that handles the execution of tasks by a node.
getJob
public JPPFDistributedJob getJob()
- Get the job currently being executed.
- Returns:
- a
JPPFDistributedJob instance, or null if no job is being executed.
getTasks
public List<JPPFTask> getTasks()
- Get the tasks currently being executed.
- Returns:
- a list of
JPPFTask instances, or null if the node is idle.
Copyright © 2005-2010 JPPF Team.