org.axonframework.commandhandling
Interface SimpleCommandBusStatisticsMXBean

All Known Implementing Classes:
SimpleCommandBusStatistics

public interface SimpleCommandBusStatisticsMXBean

Management interface for the SimpleCommandBus monitor

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 getCommandHandlerCount()
          Returns the amount of registered handlers.
 List<String> getHandlerTypes()
          Returns a list with names of the registered handlers.
 long getReceivedCommandCount()
          Returns the amount of received commands.
 void resetReceivedCommandsCounter()
          Reset the amount of commands received counter.
 

Method Detail

getCommandHandlerCount

long getCommandHandlerCount()
Returns the amount of registered handlers.

Returns:
long representing the amount of handlers

getHandlerTypes

List<String> getHandlerTypes()
Returns a list with names of the registered handlers.

Returns:
List of strings representing the names of registered handlers

getReceivedCommandCount

long getReceivedCommandCount()
Returns the amount of received commands.

Returns:
long representing the amount of commands received

resetReceivedCommandsCounter

void resetReceivedCommandsCounter()
Reset the amount of commands received counter.



Copyright © 2010-2016. All Rights Reserved.