com.atlassian.bamboo.event.spi
Class EventStats

java.lang.Object
  extended by com.atlassian.bamboo.event.spi.EventStats

@ThreadSafe
public class EventStats
extends Object

Lockless class for tracking statistics from the events system

Since:
4.0

Constructor Summary
EventStats()
           
 
Method Summary
 void dispatch(com.atlassian.event.spi.ListenerInvoker invoker, Object event)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.