use of org.apache.geode.internal.statistics.ValueMonitor in project geode by apache.
the class AggregateRegionStatsMonitor method stopListener.
@Override
public void stopListener() {
for (Statistics stat : listeners.keySet()) {
ValueMonitor monitor = monitors.get(stat);
monitor.removeListener(listeners.get(stat));
monitor.removeStatistics(stat);
}
listeners.clear();
monitors.clear();
}
Aggregations