public interface Counter
| Modifier and Type | Method and Description |
|---|---|
void |
addCount(long delta)
Add delta to the value associated with this stat.
|
void |
addLatency(long eventLatency,
java.util.concurrent.TimeUnit unit)
An operation succeeded with the given eventLatency.
|
void |
clear()
Clear this stat.
|
void |
dec()
Decrement the value associated with this stat.
|
java.lang.Long |
get()
Get the value associated with this stat.
|
void |
inc()
Increment the value associated with this stat.
|
void clear()
void inc()
void dec()
void addCount(long delta)
delta - void addLatency(long eventLatency,
java.util.concurrent.TimeUnit unit)
eventLatency - The event latencyunit - java.lang.Long get()
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.