Package org.infinispan.commons.stat
Interface CounterTracker
public interface CounterTracker
Tracks a monotonically increasing values.
The counters may never be reset to a lesser value.
-
Method Summary
-
Method Details
-
increment
void increment()Update the counter by one. -
increment
void increment(double amount) Update the counter byamount
.- Parameters:
amount
- The amount to add to the counter.
-