org.wso2.carbon.event.statistics
Class EventStatisticsService
java.lang.Object
org.wso2.carbon.event.statistics.EventStatisticsService
public class EventStatisticsService
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventStatisticsService
public EventStatisticsService()
getGlobalCount
public StatsDTO getGlobalCount(int tenantId)
getCategoryCount
public StatsDTO getCategoryCount(int tenantId,
String categoryName)
getDeploymentCount
public StatsDTO getDeploymentCount(int tenantId,
String categoryName,
String deploymentName)
getElementCount
public StatsDTO getElementCount(int tenantId,
String categoryName,
String deploymentName,
String elementName)
getEventStatisticMonitor
public EventStatisticsMonitor getEventStatisticMonitor(int tenantId,
String category,
String deployment,
String element)
reset
public void reset()
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()
Copyright © 2015 WSO2. All rights reserved.