org.ourgrid.mygrid.scheduler
Interface JobInterested

All Known Implementing Classes:
JobMonitor

public interface JobInterested

Objects that implements this interface can be notified when a job finishes.


Method Summary
 int getJobId()
          Returns the Job identification.
 void jobFinished(JobEntry job)
          Notifies that a job is finished.
 void jobNotFound()
          Notifies that the job of interest does not exist.
 

Method Detail

jobFinished

void jobFinished(JobEntry job)
Notifies that a job is finished.

Parameters:
job - The Job that finished.

getJobId

int getJobId()
Returns the Job identification.

Returns:
The Job identification.

jobNotFound

void jobNotFound()
Notifies that the job of interest does not exist.