org.avaje.metric.GaugeDouble Maven / Gradle / Ivy
The newest version!
package org.avaje.metric;
/**
* A Gauge returning a double value providing the 'source' for a {@link GaugeDoubleMetric}.
*
* A Gauge typically doesn't represent an "Event" but the current value of a resource like 'active
* threads' or 'used memory' etc.
*
* @see GaugeDoubleMetric
*/
public interface GaugeDouble {
/**
* Return the current value.
*/
double getValue();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy