@Deprecated public static final class EventProcessor.NullEventProcessor extends java.lang.Object implements EventProcessor
EventProcessor
for when we don't want to send any events.EventProcessor.NullEventProcessor
Constructor and Description |
---|
NullEventProcessor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
Specifies that any buffered events should be sent as soon as possible, rather than waiting
for the next flush interval.
|
void |
sendEvent(Event e)
Deprecated.
Records an event asynchronously.
|
public void sendEvent(Event e)
EventProcessor
sendEvent
in interface EventProcessor
e
- an eventpublic void flush()
EventProcessor
Closeable.close()
will synchronously deliver
any events that were not yet delivered prior to shutting down.flush
in interface EventProcessor
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable