public class EventProcessor<E> extends ScheduledTask<java.lang.Void>
AUTOSTART, IGNORENULL, RUNONCE| Constructor and Description |
|---|
EventProcessor(EventHandler<? super E> inHandler) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<E> |
getQueuedEvents() |
int |
queueEvent(E inEvent) |
void |
setHandler(EventHandler<? super E> inHandler) |
cancel, startTaskAsync, startTaskLater, startTaskTimerchainTask, getResult, getResult, getResultNow, isCancelled, run, startTaskpublic EventProcessor(EventHandler<? super E> inHandler)
public int queueEvent(E inEvent)
public void setHandler(EventHandler<? super E> inHandler)
public java.util.List<E> getQueuedEvents()