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 and Description
    `RollingAverageGauge()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### RollingAverageGauge

          public RollingAverageGauge()

  - ### Method Detail

    - #### getValue

          public Double getValue()

      Specified by:
        `getValue` in interface `com.codahale.metrics.Gauge<Double>`

    - #### addValue

          public void addValue(double value)

Copyright © 2021 The Apache Software Foundation. All rights reserved.