T
- the type of the metric's valuepublic interface Gauge<T> extends Metric
final Queue<String> queue = new ConcurrentLinkedQueue<String>();
final Gauge<Integer> queueDepth = new Gauge<Integer>() {
public Integer getValue() {
return queue.size();
}
};
T getValue()
Copyright © 2013. All rights reserved.