public interface SystemEventSender
Modifier and Type | Method and Description |
---|---|
void |
finalizeEvents(Long processMarker)
Mass activate events based on the process marker.
|
void |
sendEvents(List<SystemEvent> events)
Send the events to the backing system.
|
void |
unsafeSendEvents(List<SystemEvent> events)
Send the events to the backing system.
|
void sendEvents(List<SystemEvent> events)
events
- void unsafeSendEvents(List<SystemEvent> events)
sendEvents(List)
in that the actual sending is performed on
a separate thread. This is faster for the calling thread and avoids some event
preparation overhead, but the caller will not know if the sending of the event
was successful. Therefore, it is recommended to use this method for non-critical events.events
- void finalizeEvents(Long processMarker)
processMarker
- SystemEvent.getProcessMarker()
Copyright © 2019. All rights reserved.