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