|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.axonframework.eventhandling.SimpleEventBusStatistics
public class SimpleEventBusStatistics
Statistics object to store information about the internal of the SimpleEventBus
.
You can request information about the registered listeners but also about the number of received events.
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.
SimpleEventBus
Method Summary | |
---|---|
long |
getListenerCount()
Returns the amount of registered listeners. |
List<String> |
getListenerTypes()
Returns the list of names of the registered listeners. |
long |
getReceivedEventsCount()
Returns the amount of received events, from the beginning or after the last reset. |
void |
resetReceivedEventsCount()
Reset the amount of events that was received. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public long getListenerCount()
getListenerCount
in interface SimpleEventBusStatisticsMXBean
public long getReceivedEventsCount()
getReceivedEventsCount
in interface SimpleEventBusStatisticsMXBean
public void resetReceivedEventsCount()
resetReceivedEventsCount
in interface SimpleEventBusStatisticsMXBean
public List<String> getListenerTypes()
getListenerTypes
in interface SimpleEventBusStatisticsMXBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |