|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.statistics.DefaultCounter
public class DefaultCounter
DefaultCounter
Constructor Summary | |
---|---|
DefaultCounter()
|
|
DefaultCounter(long initialValue)
|
Method Summary | |
---|---|
long |
decrement()
Decrements by one the current counter value. |
long |
getValue()
Gets the current counter value, regardless whether it's enabled or not. |
long |
increment()
Increments by one the current counter value. |
void |
reset()
Resets the counter, regardless whether it's enabled or not. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultCounter()
public DefaultCounter(long initialValue)
Method Detail |
---|
public long getValue()
Counter
getValue
in interface Counter
public long increment()
Counter
increment
in interface Counter
public long decrement()
Counter
decrement
in interface Counter
public void reset()
Counter
reset
in interface Counter
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |