| Constructor and Description |
|---|
SafeTimerReal() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel this timer.
|
long |
now()
This retrieves the current time on this box.
|
void |
schedule(SafeTimerTask task,
long delay) |
void |
schedule(SafeTimerTask task,
long delay,
long period) |
void |
scheduleAtFixedRate(SafeTimerTask task,
long period)
Schedule at a fixed rate with no delay.
|
void |
scheduleAtFixedRate(SafeTimerTask task,
long delay,
long period) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitschedule, schedule, scheduleAtFixedRate, scheduleAtFixedRatepublic long now()
public void schedule(SafeTimerTask task, long delay)
public void schedule(SafeTimerTask task, long delay, long period)
public void scheduleAtFixedRate(SafeTimerTask task, long delay, long period)
scheduleAtFixedRate in interface SafeTimerTimer.scheduleAtFixedRate(TimerTask, long, long)public void scheduleAtFixedRate(SafeTimerTask task, long period)
SafeTimerscheduleAtFixedRate in interface SafeTimerTimer.scheduleAtFixedRate(TimerTask, long, long)