org.ourgrid.mygrid.scheduler.event
Class ReplicaAbortedNotifyEvent

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

public class ReplicaAbortedNotifyEvent
extends java.lang.Object
implements JobNotifyEvent

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

See Also:
Serialized Form

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

Constructor Detail

ReplicaAbortedNotifyEvent

public ReplicaAbortedNotifyEvent(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 aborted.

Specified by:
process in interface ActionEvent