Interface Counter
-
public interface Counter
A counter is a metric to track counts of events or running totals etc. The value of the counter can only increase.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
inc()
Increment the counter by 1.void
inc(long amount)
Increment the counter by a specified amount.
-