java.util
Class Timer
java.lang.Object
java.util.Timer
public class Timer
- extends Object
|
Method Summary |
void |
cancel()
|
int |
purge()
|
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer
public Timer()
Timer
public Timer(boolean isDaemon)
Timer
public Timer(String name)
Timer
public Timer(String name,
boolean isDaemon)
purge
public int purge()
cancel
public void cancel()
schedule
public void schedule(TimerTask task,
Date time)
schedule
public void schedule(TimerTask task,
Date firstTime,
long period)
schedule
public void schedule(TimerTask task,
long delay)
schedule
public void schedule(TimerTask task,
long delay,
long period)
scheduleAtFixedRate
public void scheduleAtFixedRate(TimerTask task,
Date firstTime,
long period)
scheduleAtFixedRate
public void scheduleAtFixedRate(TimerTask task,
long delay,
long period)