|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.commandhandling.SimpleCommandBusStatistics
public class SimpleCommandBusStatistics
Statistics object to store information about the internals of the SimpleCommandBus.
You can request information about the registered handlers but also about the number of received commands.
Next to requesting information it is also possible to reset the counters
Finally, the statistics are only gathered when explicitly enabled. By default they are switched off.
| Constructor Summary | |
|---|---|
SimpleCommandBusStatistics()
Creates an instance of this statistics MBean. |
|
| Method Summary | |
|---|---|
long |
getCommandHandlerCount()
Returns the amount of registered handlers. |
List<String> |
getHandlerTypes()
Returns a list with the names of the types of the registered handlers. |
long |
getReceivedCommandCount()
Returns the amount of received commands from the beginning of starting up or after the last reset. |
void |
resetReceivedCommandsCounter()
Resets the received command counter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleCommandBusStatistics()
| Method Detail |
|---|
public long getCommandHandlerCount()
getCommandHandlerCount in interface SimpleCommandBusStatisticsMXBeanpublic long getReceivedCommandCount()
getReceivedCommandCount in interface SimpleCommandBusStatisticsMXBeanpublic List<String> getHandlerTypes()
getHandlerTypes in interface SimpleCommandBusStatisticsMXBeanpublic void resetReceivedCommandsCounter()
resetReceivedCommandsCounter in interface SimpleCommandBusStatisticsMXBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||