|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
Gauge | Simple sensor that keeps track of the current value of a single long property. |
Class Summary | |
AbstractGauge | Abstract helper implementation of the Gauge interface that
supplies two extra ways of associating a Gauge implementation
with a GaugeRuntime . |
GaugeRuntime | Main entry point for working with gauges , which are
simple sensors that measure the value of a single numeric property. |
This package provides support for measuring simple (numeric) properties of runtime components.
A Gauge
represents such a runtime property
and the current value of that property can be retrieved through the
getValue()
method.
Gauges are classes that implement the Gauge
interface. The net.sf.sensor.gauge.support
package offers a number
of default implementations that can be used out of the box.
To use a Gauge
, it needs to be registered
with the GaugeRuntime
using the
addGauge(Gauge)
method. The GaugeRuntime
will usually be a
(Spring-)managed singleton but a static instance can also be retrieved using the
StaticSensorRuntime.getGaugeRuntime()
method.
|
|||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |