Class SimpleGauge<T extends java.lang.Number>


  • public class SimpleGauge<T extends java.lang.Number>
    extends java.lang.Object
    A Gauge implementation that forwards on the value supplier.
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleGauge​(org.apache.bookkeeper.stats.Gauge<T> gauge)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getSample()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleGauge

        public SimpleGauge​(org.apache.bookkeeper.stats.Gauge<T> gauge)
    • Method Detail

      • getSample

        public java.lang.Number getSample()