public class EventStatisticsManager extends Object
| Constructor and Description |
|---|
EventStatisticsManager() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public EventStatisticsMonitor getEventStatisticMonitor(int tenantId, String category, String deployment, String element)
public void reset()
public ConcurrentHashMap<Integer,StatsCounter> getTenantDataMap()
public void registerObserver(EventStatisticsObserver o)
o - The EventStatisticsObserver instance to be notified of data updatespublic void unregisterObserver(EventStatisticsObserver o)
o - The EventStatisticsObserver instance to be removedpublic void unregisterObservers()
public void updateStatistics(CollectionDTO collectionDTO)
Copyright © 2015 WSO2. All rights reserved.