Package org.apache.zookeeper.metrics
Interface GaugeSet
-
public interface GaugeSet
A Gauge is an application provided object which will be called by the metrics framework to sample a numeric value. A GaugeSet is a set ofGauge
grouped by keys.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Number>
values()
Returns all values and the associated keys of the GaugeSet.
-
-
-
Method Detail
-
values
java.util.Map<java.lang.String,java.lang.Number> values()
Returns all values and the associated keys of the GaugeSet. The MetricsProvider will call this callback without taking care of synchronization, it is up to the application to handle thread safety.- Returns:
- all the values and keys
-
-