org.axonframework.eventhandling
Interface EventProcessingMonitorSupport

All Known Subinterfaces:
Cluster
All Known Implementing Classes:
AbstractCluster, AsyncAnnotatedSagaManager, AsynchronousCluster, EventProcessingMonitorCollection, ReplayingCluster, SimpleCluster

public interface EventProcessingMonitorSupport

Interface indicating that the implementing class is capable of notifying monitors when event processing completes.

This interface should be implemented by all event handling components that are capable of processing events asynchronously.

Since:
2.1
Author:
Allard Buijze

Method Summary
 void subscribeEventProcessingMonitor(EventProcessingMonitor monitor)
          Subscribes the given monitor.
 void unsubscribeEventProcessingMonitor(EventProcessingMonitor monitor)
          Unsubscribed the given monitor.
 

Method Detail

subscribeEventProcessingMonitor

void subscribeEventProcessingMonitor(EventProcessingMonitor monitor)
Subscribes the given monitor. If the monitor is already subscribed, nothing happens.

Parameters:
monitor - The monitor to subscribe

unsubscribeEventProcessingMonitor

void unsubscribeEventProcessingMonitor(EventProcessingMonitor monitor)
Unsubscribed the given monitor. If the monitor was not subscribed, or was already unsubscribed, nothing happens.

Parameters:
monitor - The monitor to unsubscribe


Copyright © 2010-2016. All Rights Reserved.