|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.sensor.meter.MeterRuntime
Main entry point for working with Meters.
| Constructor Summary | |
MeterRuntime()
|
|
| Method Summary | |
Meter |
getMeter(String label)
Returns a new Meter for the specified label. |
Collection |
getMeterStatistics()
Returns an unmodifiable Collection<MeterStatistics> of all registered meters. |
void |
reset()
Resets all active counters to zero. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MeterRuntime()
| Method Detail |
public Meter getMeter(String label)
Meter for the specified label.
label - the label for the Meter.
Meter that matches the specified label.public Collection getMeterStatistics()
public void reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||