Class CounterStat

java.lang.Object
io.airlift.stats.CounterStat

@ThreadSafe public final class CounterStat extends Object
Event statistics.

Thread-safety: instances of CounterStat are thread-safe. However, there is no consistency guarantee when using reset() or resetTo(io.airlift.stats.CounterStat) concurrently with update(long) or merge(io.airlift.stats.CounterStat).