|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.env.meter.AbstractMeter
com.caucho.env.meter.TimeMeter
public final class TimeMeter
| Constructor Summary | |
|---|---|
TimeMeter(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
add(long time)
Adds a time sample to the probe |
double |
sample()
Return the probe's next sample. |
| Methods inherited from class com.caucho.env.meter.AbstractMeter |
|---|
getName, peek, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeMeter(java.lang.String name)
| Method Detail |
|---|
public final void add(long time)
TimeSensor
add in interface TimeSensorpublic final double sample()
sample in interface Metersample in class AbstractMeter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||