org.ourgrid.mygrid.replicaexecutor.event
Class CancelReplicasOfJobRequestEvent

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

public class CancelReplicasOfJobRequestEvent
extends java.lang.Object
implements RequestEvent

Description: A request event which specifies that all replicas of the Job with id =jobId should be canceled.

Version:
1.0 Created on 08/07/2004
See Also:
Serialized Form

Constructor Summary
CancelReplicasOfJobRequestEvent(EBReplicaManager ebReplicaManager, int jobId)
          Creates a CancelReplicasOfJobRequestEvent with a EBReplicaManager and a jobId
 
Method Summary
 void process()
          Asks the EBReplicaManager to cancel all replicas of the job with id =jobId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelReplicasOfJobRequestEvent

public CancelReplicasOfJobRequestEvent(EBReplicaManager ebReplicaManager,
                                       int jobId)
Creates a CancelReplicasOfJobRequestEvent with a EBReplicaManager and a jobId

Parameters:
ebReplicaManager - The current EBReplicaManager
jobId - The id of the Job whose replicas should be cancelled.
Method Detail

process

public void process()
Asks the EBReplicaManager to cancel all replicas of the job with id =jobId

Specified by:
process in interface ActionEvent