public interface EventProcessingMonitor
EventProcessingMonitorSupport
, the monitor will be
notified when events have been processed.Modifier and Type | Method and Description |
---|---|
void |
onEventProcessingCompleted(List<? extends EventMessage> eventMessages)
Invoked when one or more events have been successfully processed by the instance it was subscribed to.
|
void |
onEventProcessingFailed(List<? extends EventMessage> eventMessages,
Throwable cause)
Invoked when one or more events have failed processing by the instance it was subscribed to.
|
void onEventProcessingCompleted(List<? extends EventMessage> eventMessages)
eventMessages
- The messages that have been successfully processedvoid onEventProcessingFailed(List<? extends EventMessage> eventMessages, Throwable cause)
eventMessages
- The message that failedcause
- The cause of the failureCopyright © 2010-2014. All Rights Reserved.