public interface MetricsGaugeFactory extends MetricsFactory
| Modifier and Type | Method and Description |
|---|---|
<T> MetricsGauge<T> |
registerGauge(Class<?> origin,
String name,
MetricsGauge<T> gauge)
Register a MetricsGauge with the underlying Metrics system.
|
registered<T> MetricsGauge<T> registerGauge(Class<?> origin, String name, MetricsGauge<T> gauge)
T - Any type holding the MetricsGauge's current value.origin - The class where the MetricsGauge is created.name - A human readable, short name of the metric.gauge - The implementation of the MetricsGauge.