public interface JobListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
jobDispatched(JobEvent event)
Called when a job, or a subset of its tasks, is sent to the server, or to the local executor.
|
void |
jobEnded(JobEvent event)
Called when the execution of a job is complete.
|
void |
jobReturned(JobEvent event)
Called when the execution of a subset of the tasks of a job is complete.
|
void |
jobStarted(JobEvent event)
Called when the execution of a job is starting.
|
void jobStarted(JobEvent event)
event - encapsulates the event that caused this method to be called.void jobEnded(JobEvent event)
JobListener.jobStarted(JobEvent), this method should only ever be called once.event - encapsulates the event that caused this method to be called.void jobDispatched(JobEvent event)
This method may be called multiple times, depending on the client load-balancer configuration, and on how it will split the jobs into subsets of their tasks.
event - encapsulates the event that caused this method to be called.void jobReturned(JobEvent event)
This method may be called multiple times, depending on the client load-balancer configuration, and on how it will split the jobs into subsets of their tasks.
event - encapsulates the event that caused this method to be called.Copyright © 2005-2019 JPPF Team.