org.apache.commons.monitoring
Interface Gauge

All Superinterfaces:
StatValue
All Known Implementing Classes:
CompositeGauge, ThreadSafeGauge

public interface Gauge
extends StatValue

A StatValue to expose application state, or resource consumption (open connections, active threads, ...)

Author:
Nicolas De Loof

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.commons.monitoring.StatValue
StatValue.Listener
 
Method Summary
 void add(long delta, Unit unit)
           
 void decrement(Unit unit)
           
 void increment(Unit unit)
           
 
Methods inherited from interface org.apache.commons.monitoring.StatValue
addListener, get, getMax, getMean, getMin, getMonitor, getRole, getStandardDeviation, getUnit, removeListener, reset, set, setMonitor
 

Method Detail

increment

void increment(Unit unit)

add

void add(long delta,
         Unit unit)

decrement

void decrement(Unit unit)


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.