public class EventStatisticsService extends Object
| Constructor and Description |
|---|
EventStatisticsService() |
| Modifier and Type | Method and Description |
|---|---|
StatsDTO |
getCategoryCount(int tenantId,
String categoryName) |
StatsDTO |
getDeploymentCount(int tenantId,
String categoryName,
String deploymentName) |
StatsDTO |
getElementCount(int tenantId,
String categoryName,
String deploymentName,
String elementName) |
EventStatisticsMonitor |
getEventStatisticMonitor(int tenantId,
String category,
String deployment,
String element) |
StatsDTO |
getGlobalCount(int tenantId) |
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() |
public StatsDTO getGlobalCount(int tenantId)
public StatsDTO getDeploymentCount(int tenantId, String categoryName, String deploymentName)
public StatsDTO getElementCount(int tenantId, String categoryName, String deploymentName, String elementName)
public EventStatisticsMonitor getEventStatisticMonitor(int tenantId, String category, String deployment, String element)
public void reset()
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()
Copyright © 2015 WSO2. All rights reserved.