public class AlarmClock extends Object
| Modifier and Type | Field and Description |
|---|---|
Set<Pingback<?>> |
outstanding |
Timer |
timer |
long |
timeStart |
| Constructor and Description |
|---|
AlarmClock() |
| Modifier and Type | Method and Description |
|---|---|
Pingback<?> |
add(Callback<?> callback,
long delay) |
<T> Pingback<T> |
add(Callback<T> callback,
T argument,
long delay) |
void |
cancel(Pingback<?> pingback) |
static AlarmClock |
get()
Global singleton for general use
|
long |
getCount() |
<T> Pingback<T> |
reset(Pingback<T> pingback,
long delay) |
public Timer timer
public long timeStart
public static AlarmClock get()
public long getCount()
public void cancel(Pingback<?> pingback)
Licenced under the Apache License, Version 2.0