public class TimerService
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
TimerService.WatchdogContext |
static class |
TimerService.WatchdogTask |
| Modifier and Type | Field and Description |
|---|---|
TimerService.WatchdogContext |
defaultExec |
static java.util.concurrent.ThreadFactory |
factory |
| Constructor and Description |
|---|
TimerService(TimerService.WatchdogContext doghouse) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmptyLazy(TimerService.WatchdogContext executor)
return true if empty at a particular moment during the call
allowing false negatives if operations are ongoing
|
void |
shutdown() |
void |
submit(Timer t) |
void |
trigger(TimerService.WatchdogContext doghouse) |
public static java.util.concurrent.ThreadFactory factory
public TimerService.WatchdogContext defaultExec
public TimerService(TimerService.WatchdogContext doghouse)
public void shutdown()
public void submit(Timer t)
public boolean isEmptyLazy(TimerService.WatchdogContext executor)
public void trigger(TimerService.WatchdogContext doghouse)