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