uws.job.timerTask
Class DurationTimerTask

java.lang.Object
  extended by uws.job.timerTask.DurationTimerTask
All Implemented Interfaces:
java.io.Serializable, JobTimerTask

public class DurationTimerTask
extends java.lang.Object
implements JobTimerTask

Task that the executionDuration timer of a job must trigger: only change the current phase of the job to ABORTED.

Version:
12/2010
Author:
Grégory Mantelet (CDS)
See Also:
Serialized Form

Field Summary
protected  AbstractJob job
           
 
Constructor Summary
DurationTimerTask(AbstractJob j)
           
 
Method Summary
 void run()
          The task that the timer must execute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

job

protected final AbstractJob job
Constructor Detail

DurationTimerTask

public DurationTimerTask(AbstractJob j)
Method Detail

run

public void run()
Description copied from interface: JobTimerTask
The task that the timer must execute.

Specified by:
run in interface JobTimerTask