fr.dyade.aaa.util

Class TimerTask


public abstract class TimerTask
extends java.lang.Object

The TimerTask class is the base class for implementing tasks run by a Timer instance.

See Also:
Timer

Method Summary

boolean
cancel()
Cancels this task by removing it from the timer's tasks list, and interrupting the timer thread if necessary.
void
run()
Method called by the timer when the task is ready to execute.

Method Details

cancel

public boolean cancel()
Cancels this task by removing it from the timer's tasks list, and interrupting the timer thread if necessary.


run

public void run()
Method called by the timer when the task is ready to execute.


Copyright B) 2004 Scalagent - All rights reserved