Uses of Class java.util.TimerTask

Uses in package java.util

Methods with parameter type java.util.TimerTask

void
Schedules the task at the specified data for one time execution.
void
Timer.schedule(TimerTask task, Date date, long period)
Schedules the task at the specified date and reschedules the task every period milliseconds after the last execution of the task finishes until this timer or the task is canceled.
void
Timer.schedule(TimerTask task, long delay)
Schedules the task after the specified delay milliseconds for one time execution.
void
Timer.schedule(TimerTask task, long delay, long period)
Schedules the task after the delay milliseconds and reschedules the task every period milliseconds after the last execution of the task finishes until this timer or the task is canceled.
void
Timer.scheduleAtFixedRate(TimerTask task, Date date, long period)
Schedules the task at the specified date and reschedules the task at a fixed rate every period milliseconds until this timer or the task is canceled.
void
Timer.scheduleAtFixedRate(TimerTask task, long delay, long period)
Schedules the task after the delay milliseconds and reschedules the task at a fixed rate every period milliseconds until this timer or the task is canceled.