org.ourgrid.mygrid.scheduler.event
Class CancelJobRequestEvent

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.event.CancelJobRequestEvent
All Implemented Interfaces:
java.io.Serializable, ActionEvent, Event, RequestEvent, JobRequestEvent

public class CancelJobRequestEvent
extends java.lang.Object
implements JobRequestEvent

Event used when it is needed to cancel a job.

See Also:
Serialized Form

Constructor Summary
CancelJobRequestEvent(EBSchedulingHeuristic ebSchedulingHeuristic, int jobId, EventQueue<NotifyEvent> responseQueue)
          The constructor.
 
Method Summary
 void process()
          Cancels the job given in the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelJobRequestEvent

public CancelJobRequestEvent(EBSchedulingHeuristic ebSchedulingHeuristic,
                             int jobId,
                             EventQueue<NotifyEvent> responseQueue)
The constructor.

Parameters:
ebSchedulingHeuristic - The EBSchedulingHeuristic
jobId - The job identification
Method Detail

process

public void process()
Cancels the job given in the constructor.

Specified by:
process in interface ActionEvent