- Type Parameters:
T
- Any type holding the MetricsGauge's current value.
- All Superinterfaces:
- Metric
- All Known Implementing Classes:
- CodahaleGauge, DefaultMetric
public interface MetricsGauge<T>
extends Metric
MetricsGauge is the most basic Metric type, and is completely flexible and therefor handled slightly differently in
the MetricsFactory than all other Gauges. It needs to pass on custom code, so the implementation is typically
an anonymous class, inlined at the implementation.