Class EventStats


  • @ThreadSafe
    public class EventStats
    extends Object
    Lockless class for tracking statistics from the events system
    Since:
    4.0
    • Constructor Detail

      • EventStats

        public EventStats()
    • Method Detail

      • dispatch

        public void dispatch​(com.atlassian.event.spi.ListenerInvoker invoker,
                             Object event)
      • getEventCountsMap

        public Map<String,​Long> getEventCountsMap()
        Returns a copy of the map where the key is the event name and the value has how many times the event has been dispatched.
        Returns: