public interface Measurable extends MetricValueProvider<java.lang.Double>
Modifier and Type | Method and Description |
---|---|
double |
measure(MetricConfig config,
long now)
Measure this quantity and return the result as a double
|
double measure(MetricConfig config, long now)
config
- The configuration for this metricnow
- The POSIX time in milliseconds the measurement is being taken