|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventProcessingMonitor
Interface describing a mechanism that listens for the results of events being processed. When subscribed to an
object implementing EventProcessingMonitorSupport
, the monitor will be
notified when events have been processed.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |