TimerTask

public abstract class TimerTask extends Object
implements Runnable

A task that can be scheduled for one-time or repeated execution by a Timer.

See Also

Protected Constructor Summary

TimerTask()
Creates a new timer task.

Public Method Summary

boolean
cancel()
Cancels this timer task.
abstract void
run()
The action to be performed by this timer task.
long
scheduledExecutionTime()
Returns the scheduled execution time of the most recent actual execution of this task.

Inherited Method Summary