Class RollingAverageGauge

java.lang.Object
org.apache.storm.metrics2.RollingAverageGauge
All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>, com.codahale.metrics.Metric

public class RollingAverageGauge extends Object implements com.codahale.metrics.Gauge<Double>
  • Constructor Details

    • RollingAverageGauge

      public RollingAverageGauge()
  • Method Details

    • getValue

      public Double getValue()
      Specified by:
      getValue in interface com.codahale.metrics.Gauge<Double>
    • addValue

      public void addValue(double value)