Class TimeoutTimerTask

java.lang.Object
org.jppf.execute.TimeoutTimerTask
All Implemented Interfaces:
Runnable

public class TimeoutTimerTask extends Object implements Runnable
Instances of this class are scheduled by a timer to execute one time, check whether the corresponding JPPF task timeout has been reached, and abort the task if necessary.
  • Constructor Details

    • TimeoutTimerTask

      public TimeoutTimerTask(NodeTaskWrapper taskWrapper)
      Initialize this timer task with the specified future.
      Parameters:
      taskWrapper - the task to cancel.
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable