Class MetricsMxBeanImpl

    • Constructor Detail

    • Method Detail

      • resetMetrics

        public void resetMetrics​(String registry)
        Resets metrics for of a given registry.
        Specified by:
        resetMetrics in interface MetricsMxBean
        Parameters:
        registry - Metrics registry name.
      • configureHitRateMetric

        public void configureHitRateMetric​(String name,
                                           long rateTimeInterval)
        Change HitRateMetric configuration. Call of this method will change metric configuration across all cluster nodes.
        Specified by:
        configureHitRateMetric in interface MetricsMxBean
        Parameters:
        name - Metric name.
        rateTimeInterval - New rate time interval.
      • configureHistogramMetric

        public void configureHistogramMetric​(String name,
                                             long[] bounds)
        Change HistogramMetric configuration. Call of this method will change metric configuration across all cluster nodes.
        Specified by:
        configureHistogramMetric in interface MetricsMxBean
        Parameters:
        name - Metric name.
        bounds - New bounds.