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 |
|---|---|
| public T |
| getValue | back to summary |
|---|---|
| public T getValue() Returns the metric's current value.
| |