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

      Constructor Description
      SimpleGauge​(Gauge<T> gauge, java.util.Map<java.lang.String,​java.lang.String> labels)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getLabels()  
      (package private) 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​(Gauge<T> gauge,
                           java.util.Map<java.lang.String,​java.lang.String> labels)
    • Method Detail

      • getSample

        java.lang.Number getSample()
      • getLabels

        public java.util.Map<java.lang.String,​java.lang.String> getLabels()