Class InMemoryCounter
java.lang.Object
com.atlassian.crowd.analytics.persistence.InMemoryCounter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetCountAndReset(InMemoryCounter.CounterKey counterKey) Returns count for the counter of the given counter key, and resets it to 0.voidincrement(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.
-