org.ourgrid.mygrid.scheduler.event
Class ReplicaFailedNotifyEvent

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

public class ReplicaFailedNotifyEvent
extends java.lang.Object
implements JobNotifyEvent

This event is used to notify the ebSchedulingHeuristic that a replica had failed.

See Also:
Serialized Form

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

Constructor Detail

ReplicaFailedNotifyEvent

public ReplicaFailedNotifyEvent(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 had failed.

Specified by:
process in interface ActionEvent