public class StatisticsAwareMetricsSet extends Object
StatisticsAwareService
services. In short: it provides the metrics for map,
queue, cache etc.
It gets access to the metrics by making use of the statistics these data-structures produce. Every x seconds, a task is
executed that obtains all the current StatisticsAwareService
instances and gets all the LocalInstanceStats
.
Every LocalInstanceStats
that hasn't been registered yet, is registered in the MetricsRegistry
.
Every LocalInstanceStats
that was seen in the previous round but isn't available any longer, is unregistered from the
MetricsRegistry
.Constructor and Description |
---|
StatisticsAwareMetricsSet(ServiceManager serviceManager,
NodeEngineImpl nodeEngine) |
public StatisticsAwareMetricsSet(ServiceManager serviceManager, NodeEngineImpl nodeEngine)
public void register(MetricsRegistry metricsRegistry)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.