public class MetricsMxBeanImpl extends Object implements MetricsMxBean
MetricsMxBean implementation.| Constructor and Description |
|---|
MetricsMxBeanImpl(GridMetricManager mmgr,
IgniteLogger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureHistogramMetric(String name,
long[] bounds)
Change
HistogramMetric configuration. |
void |
configureHitRateMetric(String name,
long rateTimeInterval)
Change
HitRateMetric configuration. |
void |
resetMetrics(String registry)
Resets metrics for of a given registry.
|
public MetricsMxBeanImpl(GridMetricManager mmgr, IgniteLogger log)
mmgr - Metric manager.log - Logger.public void resetMetrics(String registry)
resetMetrics in interface MetricsMxBeanregistry - Metrics registry name.public void configureHitRateMetric(String name, long rateTimeInterval)
HitRateMetric configuration.
Call of this method will change metric configuration across all cluster nodes.configureHitRateMetric in interface MetricsMxBeanname - Metric name.rateTimeInterval - New rate time interval.public void configureHistogramMetric(String name, long[] bounds)
HistogramMetric configuration.
Call of this method will change metric configuration across all cluster nodes.configureHistogramMetric in interface MetricsMxBeanname - Metric name.bounds - New bounds.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020