|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.env.meter.AbstractMeter
public abstract class AbstractMeter
| Constructor Summary | |
|---|---|
protected |
AbstractMeter(java.lang.String name)
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the meter's name. |
double |
peek()
Returns the current value. |
abstract double |
sample()
Return the meter's next sample, resetting any counters for the next sample. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractMeter(java.lang.String name)
| Method Detail |
|---|
public final java.lang.String getName()
getName in interface Meterpublic abstract double sample()
sample in interface Meterpublic double peek()
peek in interface Meterpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||