|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.eventhandling.EventProcessingMonitorCollection
public class EventProcessingMonitorCollection
Implementation of the EventProcessingMonitor that delegates to all registered EventProcessingMonitor instances.
| Constructor Summary | |
|---|---|
EventProcessingMonitorCollection()
|
|
| 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. |
void |
subscribeEventProcessingMonitor(EventProcessingMonitor monitor)
Subscribes the given monitor. |
void |
unsubscribeEventProcessingMonitor(EventProcessingMonitor monitor)
Unsubscribed the given monitor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventProcessingMonitorCollection()
| Method Detail |
|---|
public void onEventProcessingCompleted(List<? extends EventMessage> eventMessages)
EventProcessingMonitor
onEventProcessingCompleted in interface EventProcessingMonitoreventMessages - The messages that have been successfully processed
public void onEventProcessingFailed(List<? extends EventMessage> eventMessages,
Throwable cause)
EventProcessingMonitor
onEventProcessingFailed in interface EventProcessingMonitoreventMessages - The message that failedcause - The cause of the failurepublic void subscribeEventProcessingMonitor(EventProcessingMonitor monitor)
EventProcessingMonitorSupportmonitor. If the monitor is already subscribed, nothing happens.
subscribeEventProcessingMonitor in interface EventProcessingMonitorSupportmonitor - The monitor to subscribepublic void unsubscribeEventProcessingMonitor(EventProcessingMonitor monitor)
EventProcessingMonitorSupportmonitor. If the monitor was not subscribed, or was already unsubscribed,
nothing happens.
unsubscribeEventProcessingMonitor in interface EventProcessingMonitorSupportmonitor - The monitor to unsubscribe
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||