org.ourgrid.mygrid.scheduler.event
Class ReplicaCanceledNotifyEvent

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.event.ReplicaCanceledNotifyEvent
All Implemented Interfaces:
java.io.Serializable, ActionEvent, Event, NotifyEvent, JobNotifyEvent

public class ReplicaCanceledNotifyEvent
extends java.lang.Object
implements JobNotifyEvent

This event is used to notify the ebSchedulingHeuristic that a replica was canceled.

See Also:
Serialized Form

Constructor Summary
ReplicaCanceledNotifyEvent(EBSchedulingHeuristic ebSchedulingHeuristic, ReplicaExecutorResult result)
          The constructor.
 
Method Summary
 void process()
          Notifies the ebSchedulingHeuristic that a replica was canceled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaCanceledNotifyEvent

public ReplicaCanceledNotifyEvent(EBSchedulingHeuristic ebSchedulingHeuristic,
                                  ReplicaExecutorResult result)
The constructor.

Parameters:
ebSchedulingHeuristic - The EBSchedulingHeuristic
result - The ReplicaExecutorResult containing the results of all five steps of a replica (init, input, remote, output and final)
Method Detail

process

public void process()
Notifies the ebSchedulingHeuristic that a replica was canceled.

Specified by:
process in interface ActionEvent