public class EventForwarderQueueImpl extends Object implements EventForwarder, AutoCloseable
| Constructor and Description |
|---|
EventForwarderQueueImpl(EventToIndex eventToIndex,
TemplateInitializer initializer,
int batchSize,
int batchInterval) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
sendNow(Event event)
Asynchronously sends an event to eventd.
|
void |
sendNow(Log eventLog)
Asynchronously sends a set of events to eventd.
|
void |
sendNowSync(Event event)
Call
AggregatingMessageProducer.dispatch(Object) to synchronously
dispatch the event. |
void |
sendNowSync(Log eventLog)
Call
AggregatingMessageProducer.dispatch(Object) to synchronously
dispatch the events. |
public EventForwarderQueueImpl(EventToIndex eventToIndex, TemplateInitializer initializer, int batchSize, int batchInterval)
public void sendNow(Event event)
EventForwardersendNow in interface EventForwarderevent - a Event object.public void sendNow(Log eventLog)
EventForwardersendNow in interface EventForwardereventLog - a Log object.public void sendNowSync(Event event)
AggregatingMessageProducer.dispatch(Object) to synchronously
dispatch the event.sendNowSync in interface EventForwarderevent - a Event object.public void sendNowSync(Log eventLog)
AggregatingMessageProducer.dispatch(Object) to synchronously
dispatch the events.sendNowSync in interface EventForwardereventLog - a Log object.public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2022. All rights reserved.