public interface EventProcessor
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Specifies that any buffered events should be sent as soon as possible, rather than waiting
for the next flush interval.
|
void |
sendEvent(Event e)
Records an event asynchronously.
|
void sendEvent(Event e)
e - an eventvoid flush()
Closeable.close() will synchronously deliver
any events that were not yet delivered prior to shutting down.