org.jppf.job
Interface JobListener

All Superinterfaces:
EventListener

public interface JobListener
extends EventListener

Listener interface for job manager events.

Author:
Laurent Cohen

Method Summary
 void jobDispatched(JobNotification event)
          Called when all or part of a job is is sent to a node for execution.
 void jobEnded(JobNotification event)
          Called when a job is complete and has been sent back to the client.
 void jobQueued(JobNotification event)
          Called when a new job is put in the job queue.
 void jobReturned(JobNotification event)
          Called when all or part of a job has returned from irs execution on a node.
 void jobUpdated(JobNotification event)
          Called when the current number of tasks in a job was updated.
 

Method Detail

jobQueued

void jobQueued(JobNotification event)
Called when a new job is put in the job queue.

Parameters:
event - - encapsulates the information about the event.

jobEnded

void jobEnded(JobNotification event)
Called when a job is complete and has been sent back to the client.

Parameters:
event - - encapsulates the information about the event.

jobUpdated

void jobUpdated(JobNotification event)
Called when the current number of tasks in a job was updated.

Parameters:
event - - encapsulates the information about the event.

jobDispatched

void jobDispatched(JobNotification event)
Called when all or part of a job is is sent to a node for execution.

Parameters:
event - - encapsulates the information about the event.

jobReturned

void jobReturned(JobNotification event)
Called when all or part of a job has returned from irs execution on a node.

Parameters:
event - - encapsulates the information about the event.


Copyright © 2005-2010 JPPF Team.