com.atlassian.bamboo.event.spi
Class EventStats
java.lang.Object
com.atlassian.bamboo.event.spi.EventStats
@ThreadSafe
public class EventStats
- extends Object
Lockless class for tracking statistics from the events system
- Since:
- 4.0
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 |
EventStats
public EventStats()
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.