Package org.jppf.client.monitoring.jobs
Interface JobMonitoringListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
JobMonitoringListenerAdapter
Listener interface for changes in the jobs of one or more drivers.
- Since:
- 5.1
- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddriverAdded(JobMonitoringEvent event) Called when a new driver is added to the topology.voiddriverRemoved(JobMonitoringEvent event) Called when a new driver is added to the topology.voidjobAdded(JobMonitoringEvent event) Called when a job is added to the driver queue.voidCalled when a job is dispatched to a node.voidCalled when a job dispatch returns from a node.voidjobRemoved(JobMonitoringEvent event) Called when a job is removed from the driver queue.voidjobUpdated(JobMonitoringEvent event) Called when the state a job has changed.
-
Method Details
-
driverAdded
Called when a new driver is added to the topology.- Parameters:
event- the event encapsulating the change information.
-
driverRemoved
Called when a new driver is added to the topology.- Parameters:
event- the event encapsulating the change information.
-
jobAdded
Called when a job is added to the driver queue.- Parameters:
event- the event encapsulating the change information.
-
jobRemoved
Called when a job is removed from the driver queue.- Parameters:
event- the event encapsulating the change information.
-
jobUpdated
Called when the state a job has changed.- Parameters:
event- the event encapsulating the change information.
-
jobDispatchAdded
Called when a job is dispatched to a node.- Parameters:
event- the event encapsulating the change information.
-
jobDispatchRemoved
Called when a job dispatch returns from a node.- Parameters:
event- the event encapsulating the change information.
-