public class TransactionAwareEventForwarder extends Object implements EventForwarder, org.springframework.beans.factory.InitializingBean
TransactionAwareEventForwarder class.
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionAwareEventForwarder.PendingEventsHolder |
static class |
TransactionAwareEventForwarder.PendingEventsSynchronization |
| Constructor and Description |
|---|
TransactionAwareEventForwarder() |
TransactionAwareEventForwarder(EventForwarder forwarder) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
releasePendingEventsList(List<Log> pendingEvents) |
List<Log> |
requestPendingEventsList() |
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)
Synchronously sends an event to eventd.
|
void |
sendNowSync(Log eventLog)
Synchronously sends a set of events to eventd.
|
void |
setEventForwarder(EventForwarder eventForwarder) |
public TransactionAwareEventForwarder()
public TransactionAwareEventForwarder(EventForwarder forwarder) throws Exception
Exceptionpublic void setEventForwarder(EventForwarder eventForwarder)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void sendNow(Event event)
sendNow in interface EventForwarderevent - a Event object.public void sendNow(Log eventLog)
EventForwardersendNow in interface EventForwardereventLog - a Log object.public void sendNowSync(Event event)
EventForwardersendNowSync in interface EventForwarderevent - a Event object.public void sendNowSync(Log eventLog)
EventForwardersendNowSync in interface EventForwardereventLog - a Log object.Copyright © 2022. All rights reserved.