001package org.avaje.metric; 002 003/** 004 * A Gauge returning a double value providing the 'source' for a {@link GaugeDoubleMetric}. 005 * <p> 006 * A Gauge typically doesn't represent an "Event" but the current value of a resource like 'active 007 * threads' or 'used memory' etc. 008 * 009 * @see GaugeDoubleMetric 010 */ 011public interface GaugeDouble { 012 013 /** 014 * Return the current value. 015 */ 016 double getValue(); 017 018}