T - the type of the metric's value. Must be numeric.@FunctionalInterface public interface Gauge<T extends java.lang.Number> extends Metric
 
 final Queue<String> queue = new ConcurrentLinkedQueue<String>();
 final Gauge<Integer> queueDepth = new Gauge<Integer>() {
     public Integer getValue() {
         return queue.size();
     }
 };
 
 | Modifier and Type | Method and Description | 
|---|---|
| T | getValue()Returns the metric's current value. | 
T getValue()