org.wso2.carbon.event.statistics.internal
Class EventStatisticsManager
java.lang.Object
org.wso2.carbon.event.statistics.internal.EventStatisticsManager
public class EventStatisticsManager
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventStatisticsManager
public EventStatisticsManager()
getEventStatisticMonitor
public EventStatisticsMonitor getEventStatisticMonitor(int tenantId,
String category,
String deployment,
String element)
reset
public void reset()
getTenantDataMap
public ConcurrentHashMap<Integer,StatsCounter> getTenantDataMap()
registerObserver
public void registerObserver(EventStatisticsObserver o)
- Register a custom statistics consumer to receive updates from this
statistics store
- Parameters:
o - The EventStatisticsObserver instance to be notified of data updates
unregisterObserver
public void unregisterObserver(EventStatisticsObserver o)
- Unregister the custom statistics consumer from the mediation statistics store
- Parameters:
o - The EventStatisticsObserver instance to be removed
unregisterObservers
public void unregisterObservers()
updateStatistics
public void updateStatistics(CollectionDTO collectionDTO)
Copyright © 2015 WSO2. All rights reserved.