public class Timer extends Object
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
void |
schedule(TimerTask task,
Date time) |
void |
schedule(TimerTask task,
Date firstTime,
long period) |
void |
schedule(TimerTask task,
long delay) |
void |
schedule(TimerTask task,
long delay,
long period) |
void |
scheduleAtFixedRate(TimerTask task,
Date firstTime,
long period) |
void |
scheduleAtFixedRate(TimerTask task,
long delay,
long period) |