org.axonframework.eventhandling
Interface SimpleEventBusStatisticsMXBean

All Known Implementing Classes:
SimpleEventBusStatistics

public interface SimpleEventBusStatisticsMXBean

Management interface the SimpleEventBus monitor.

Management interface as required by the JMX specification. In combination with the implementation, this interface specifies and delivers the actual JMX bean.

Since:
0.6
Author:
Jettro Coenradie

Method Summary
 long getListenerCount()
          Returns the amount of registered listeners.
 List<String> getListenerTypes()
          Returns a list of simple class names (class name without its package) of the registered listeners.
 long getReceivedEventsCount()
          Returns the amount of received events.
 void resetReceivedEventsCount()
          resets the amount of events received.
 

Method Detail

getListenerCount

long getListenerCount()
Returns the amount of registered listeners.

Returns:
long representing the amount of registered listeners

getListenerTypes

List<String> getListenerTypes()
Returns a list of simple class names (class name without its package) of the registered listeners. Multiple listeners with the same name are supported

Returns:
List of string representing the names of the registered listeners

getReceivedEventsCount

long getReceivedEventsCount()
Returns the amount of received events.

Returns:
long representing the amount of received events

resetReceivedEventsCount

void resetReceivedEventsCount()
resets the amount of events received.



Copyright © 2010-2016. All Rights Reserved.