Class InMemoryCounter
java.lang.Object
com.atlassian.crowd.analytics.persistence.InMemoryCounter
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getCountAndReset
(InMemoryCounter.CounterKey counterKey) Returns count for the counter of the given counter key, and resets it to 0.void
increment
(InMemoryCounter.CounterKey counterKey) Increments the counter of a given counter key.
-
Constructor Details
-
InMemoryCounter
public InMemoryCounter()
-
-
Method Details
-
getCountAndReset
Returns count for the counter of the given counter key, and resets it to 0. -
increment
Increments the counter of a given counter key.
-