org.globus.exec.monitoring
Interface JobStateRecoveryListener


public interface JobStateRecoveryListener

Interface for recovery information updates.

Objects which provide a persistent store for recoverability data can implement this interface to receive periodic updates of the timestamp which a Job State Monitor would use if it were to be restarted after being shut down (normally or abnormally).


Method Summary
 void updateJobMonitorRecoveryTimeStamp(JobStateMonitor monitor, Date timeStamp)
          Update the value of the timestamp used for recovering this JobStatemonitor instance.
 

Method Detail

updateJobMonitorRecoveryTimeStamp

public void updateJobMonitorRecoveryTimeStamp(JobStateMonitor monitor,
                                              Date timeStamp)
Update the value of the timestamp used for recovering this JobStatemonitor instance.

Parameters:
monitor - JobStateMonitor which is updating its timestamp.
timeStamp - New value of the recovery timestamp. This should be passed to the #JobStateMonitor.start() method when it is restarted.