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 Details

    • SimpleGauge

      public SimpleGauge(T value)
  • Method Details

    • getValue

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

      public void set(T value)