DCT Lightfoot v3 API specification

java.util
Class TimerTask

java.lang.Object
  |
  +--java.util.TimerTask

public abstract class TimerTask
extends Object

The timer task that has scheduled tasks


Constructor Summary
protected TimerTask()
          Create a new timer task
 
Method Summary
 boolean cancel()
          Cancel the task
abstract  void run()
          Run the task
 long scheduledExecutionTime()
          Return the most recent execution time
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerTask

protected TimerTask()
Create a new timer task

Method Detail

cancel

public boolean cancel()
Cancel the task

Returns:
true if it stops something from running

scheduledExecutionTime

public long scheduledExecutionTime()
Return the most recent execution time

Returns:
the execution time

run

public abstract void run()
Run the task


DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification