Class MetricsMxBeanImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.metric.MetricsMxBeanImpl
-
- All Implemented Interfaces:
MetricsMxBean
public class MetricsMxBeanImpl extends Object implements MetricsMxBean
MetricsMxBeanimplementation.
-
-
Constructor Summary
Constructors Constructor Description MetricsMxBeanImpl(GridMetricManager mmgr, IgniteLogger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureHistogramMetric(String name, long[] bounds)ChangeHistogramMetricconfiguration.voidconfigureHitRateMetric(String name, long rateTimeInterval)ChangeHitRateMetricconfiguration.voidresetMetrics(String registry)Resets metrics for of a given registry.
-
-
-
Constructor Detail
-
MetricsMxBeanImpl
public MetricsMxBeanImpl(GridMetricManager mmgr, IgniteLogger log)
- Parameters:
mmgr- Metric manager.log- Logger.
-
-
Method Detail
-
resetMetrics
public void resetMetrics(String registry)
Resets metrics for of a given registry.- Specified by:
resetMetricsin interfaceMetricsMxBean- Parameters:
registry- Metrics registry name.
-
configureHitRateMetric
public void configureHitRateMetric(String name, long rateTimeInterval)
ChangeHitRateMetricconfiguration. Call of this method will change metric configuration across all cluster nodes.- Specified by:
configureHitRateMetricin interfaceMetricsMxBean- Parameters:
name- Metric name.rateTimeInterval- New rate time interval.
-
configureHistogramMetric
public void configureHistogramMetric(String name, long[] bounds)
ChangeHistogramMetricconfiguration. Call of this method will change metric configuration across all cluster nodes.- Specified by:
configureHistogramMetricin interfaceMetricsMxBean- Parameters:
name- Metric name.bounds- New bounds.
-
-