org.wso2.carbon.event.statistics.internal
Class EventStatisticsManager

java.lang.Object
  extended by org.wso2.carbon.event.statistics.internal.EventStatisticsManager

public class EventStatisticsManager
extends Object


Constructor Summary
EventStatisticsManager()
           
 
Method Summary
 EventStatisticsMonitor getEventStatisticMonitor(int tenantId, String category, String deployment, String element)
           
 ConcurrentHashMap<Integer,StatsCounter> getTenantDataMap()
           
 void registerObserver(EventStatisticsObserver o)
          Register a custom statistics consumer to receive updates from this statistics store
 void reset()
           
 void unregisterObserver(EventStatisticsObserver o)
          Unregister the custom statistics consumer from the mediation statistics store
 void unregisterObservers()
           
 void updateStatistics(CollectionDTO collectionDTO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventStatisticsManager

public EventStatisticsManager()
Method Detail

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.