|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.perf.Statistic
org.sapia.ubik.rmi.server.perf.HitsPerSecStatistic
public class HitsPerSecStatistic
Calculates hits per second.
| Method Summary | |
|---|---|
protected double |
convertMillis(long delay)
|
long |
getStartTime()
|
double |
getStat()
|
void |
hit()
This method must be called by client applications to increment the int counter. |
void |
hit(int increment)
This method must be called by client applications to increment the int counter. |
protected void |
onPostReset()
|
| Methods inherited from class org.sapia.ubik.rmi.server.perf.Statistic |
|---|
getName, getValue, incrementDouble, incrementInt, incrementLong, isEnabled, onPreReset, reset, setEnabled, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void hit()
public void hit(int increment)
increment - public long getStartTime()
public double getStat()
getStat in class Statisticprotected void onPostReset()
onPostReset in class Statisticprotected double convertMillis(long delay)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||