public class TimerWorker extends java.lang.Object implements Worker
EventHandlers
Not thread safe; expects to be called by the thread that handles the events.| Constructor and Description |
|---|
TimerWorker(java.time.Clock clock,
EventHandler eventHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
doWork() |
public TimerWorker(java.time.Clock clock,
EventHandler eventHandler)