|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.util.Timer
Implement a timer that is used to schedule timer tasks
| Constructor Summary | |
Timer()
Create a new timer |
|
| Method Summary | |
void |
cancel()
Cancel this timer task, causing any threads to stop |
void |
schedule(TimerTask task,
Date date)
Schedule a task to be run at a certain time |
void |
schedule(TimerTask task,
Date date,
long repeat)
Schedule a task to be run at a certain time with a repeat rate |
void |
schedule(TimerTask task,
long delay)
Schedule a task to be run after a delay |
void |
schedule(TimerTask task,
long delay,
long repeat)
Schedule a task to be run after a delay with a repeat rate |
void |
scheduleAtFixedRate(TimerTask task,
Date date,
long repeat)
Schedule a task to be run at a certain time with a fixed repeat rate |
void |
scheduleAtFixedRate(TimerTask task,
long delay,
long repeat)
Schedule a task to be run after a delay with a fixed repeat rate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Timer()
| Method Detail |
public void cancel()
public void schedule(TimerTask task,
Date date)
task - The taskdate - The date to run it at
public void schedule(TimerTask task,
Date date,
long repeat)
task - The taskdate - The date to run it atrepeat - The repeat period
public void schedule(TimerTask task,
long delay)
task - The taskdelay - The delay before running it
public void schedule(TimerTask task,
long delay,
long repeat)
task - The taskdelay - The delay before running itrepeat - The repeat period
public void scheduleAtFixedRate(TimerTask task,
Date date,
long repeat)
task - The taskdate - The date to run it atrepeat - The repeat period
public void scheduleAtFixedRate(TimerTask task,
long delay,
long repeat)
task - The taskdelay - The delay before running itrepeat - The repeat period
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||