@FunctionalInterface public interface Gauge<T> extends MetricValueProvider<T>
| Modifier and Type | Method and Description |
|---|---|
T | value(MetricConfig config, long now)Returns the current value associated with this gauge. |
T value(MetricConfig config, long now)
config - The configuration for this metricnow - The POSIX time in milliseconds the measurement is being taken