Package org.apache.storm.metrics2

# 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 Summary

  Constructors
  Constructor
  Description
  `RollingAverageGauge()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addValue(double value)`
  `Double`
  `getValue()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)