TimerTask

Class TimerTask

All Implemented Interfaces:
Runnable
public abstract class TimerTask
extends Object
implements Runnable

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

Since:
1.3
See Also:
Timer

Constructors

TimerTask

protected TimerTask()

Creates a new timer task.

Methods

run

public abstract void run()

The action to be performed by this timer task.