org.ourgrid.mygrid.scheduler.event
Class ReplicaFinishedNotifyEvent

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

public class ReplicaFinishedNotifyEvent
extends java.lang.Object
implements JobNotifyEvent

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

See Also:
Serialized Form

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

Constructor Detail

ReplicaFinishedNotifyEvent

public ReplicaFinishedNotifyEvent(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 finished successfully.

Specified by:
process in interface ActionEvent