private static class MonitoringFeature.StatisticsListener extends java.lang.Object implements MonitoringStatisticsListener
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.inject.Provider<Ref<MonitoringStatistics>> |
statisticsFactory |
| Modifier | Constructor and Description |
|---|---|
private |
StatisticsListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onStatistics(MonitoringStatistics statistics)
The method is called when new statistics are available and statistics are passed as an argument.
|
@Inject javax.inject.Provider<Ref<MonitoringStatistics>> statisticsFactory
public void onStatistics(MonitoringStatistics statistics)
MonitoringStatisticsListeneronStatistics in interface MonitoringStatisticsListenerstatistics - Newly calculated monitoring statistics.