public final 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.| Modifier and Type | Method and Description |
|---|---|
static void |
register(ServiceManager serviceManager,
MetricsRegistry metricsRegistry) |
public static void register(ServiceManager serviceManager, MetricsRegistry metricsRegistry)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.