public interface Counter extends Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
long getValue()
long increment()
long decrement()
void reset()
Copyright © 2008–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.