public interface NodeLifeCycleListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
beforeNextJob(NodeLifeCycleEvent event)
Called after the node has sent the results of a job to the server, and before it receives the next job.
|
void |
jobEnding(NodeLifeCycleEvent event)
Called after the node finishes processing a job.
|
void |
jobHeaderLoaded(NodeLifeCycleEvent event)
Called when the node has loaded a job header and before the
DataProvider or any of the tasks have been loaded. |
void |
jobStarting(NodeLifeCycleEvent event)
Called before the node starts processing a job.
|
void |
nodeEnding(NodeLifeCycleEvent event)
Called when the node is terminating.
|
void |
nodeStarting(NodeLifeCycleEvent event)
Called when the node has finished initializing, and before it starts processing jobs.
|
void nodeStarting(NodeLifeCycleEvent event)
event
- encapsulates information about the node.void nodeEnding(NodeLifeCycleEvent event)
event
- encapsulates information about the node.void jobHeaderLoaded(NodeLifeCycleEvent event)
DataProvider
or any of the tasks have been loaded.
Note that event.getTasks()
and event.getDataProvider()
will return null
at this point.
event
- encapsulates information about the job.void jobStarting(NodeLifeCycleEvent event)
event
- encapsulates information about the job.void jobEnding(NodeLifeCycleEvent event)
event
- encapsulates information about the job.void beforeNextJob(NodeLifeCycleEvent event)
Note that event.getJob()
, event.getTasks()
, event.getTaskClassLoader()
and event.getDataProvider()
will return null
at this point.
event
- encapsulates information about the job.Copyright © 2005-2018 JPPF Team.