|
|||||||||
| Home >> All >> juju >> reattore >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
juju.reattore.util
Class CounterStat

java.lang.Objectjuju.reattore.util.BaseStat
juju.reattore.util.CounterStat
- All Implemented Interfaces:
- Stat
- public class CounterStat
- extends BaseStat
Statistic module that manages a count.
| Field Summary | |
private long |
count
|
| Fields inherited from class juju.reattore.util.BaseStat |
|
| 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 |
| Field Detail |
count
private long count
| Constructor Detail |
CounterStat
public CounterStat(java.lang.Class clazz, java.lang.String leaf)
| Method Detail |
getCount
public long getCount()
- The number of times this stat has been hit.
inc
public void inc()
- Increment this statistic.
getDefaultFormat
protected java.lang.String getDefaultFormat()
- Description copied from class:
BaseStat - Returns the default format string to use.
- Specified by:
getDefaultFormatin classBaseStat
getFormatArgs
protected java.lang.Object[] getFormatArgs()
- Description copied from class:
BaseStat - Returns the argument list used in formatting the summary.
- Specified by:
getFormatArgsin classBaseStat
|
|||||||||
| Home >> All >> juju >> reattore >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC