|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--juju.reattore.util.BaseStat | +--juju.reattore.util.CounterStat
Statistic module that manages a count.
Constructor Summary | |
CounterStat(java.lang.Class clazz,
java.lang.String leaf)
|
Method Summary | |
long |
getCount()
The number of times this stat has been hit. |
protected java.lang.String |
getDefaultFormat()
Returns the default format string to use. |
protected java.lang.Object[] |
getFormatArgs()
Returns the argument list used in formatting the summary. |
void |
inc()
Increment this statistic. |
Methods inherited from class juju.reattore.util.BaseStat |
format, getName, setFormat |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CounterStat(java.lang.Class clazz, java.lang.String leaf)
BaseStat
Method Detail |
public long getCount()
public void inc()
protected java.lang.String getDefaultFormat()
BaseStat
getDefaultFormat
in class BaseStat
BaseStat
protected java.lang.Object[] getFormatArgs()
BaseStat
getFormatArgs
in class BaseStat
BaseStat
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |