|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Meter
Meters gather information from Sensors in a ResinSystem. Some sampled meters like the CPU and JMX don't have an associated Sensor, but gather the data as they are polled. Meters typically gather information when polled and then reset any internal accumulated counters. For example, a request counter meter will clear the request count after being sampled. Meter values can typically be peeked which will return the current value without resetting internal counters.
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the meter's name. |
double |
peek()
Returns the current meter value without updating the sample. |
double |
sample()
Gather the meter's next sample. |
| Method Detail |
|---|
java.lang.String getName()
double sample()
double peek()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||