Package org.apache.storm.metrics2

## Class SimpleGauge<T>

- java.lang.Object
- - org.apache.storm.metrics2.SimpleGauge<T>

- All Implemented Interfaces:
    `com.codahale.metrics.Gauge<T>`, `com.codahale.metrics.Metric`

      public class SimpleGauge<T>
      extends Object
      implements com.codahale.metrics.Gauge<T>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SimpleGauge​(T value)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `getValue()` |
    `void` | `set​(T value)` |

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

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

- - ### Constructor Detail

    - #### SimpleGauge

          public SimpleGauge​(T value)

  - ### Method Detail

    - #### getValue

          public T getValue()

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

    - #### set

          public void set​(T value)