static class NullStatsLogger.NullCounter extends java.lang.Object implements Counter
Counter.| Constructor and Description |
|---|
NullCounter() |
| 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.
|
public void clear()
Counterpublic void inc()
Counterpublic void dec()
Counterpublic void addCount(long delta)
Counterpublic void addLatency(long eventLatency,
java.util.concurrent.TimeUnit unit)
CounteraddLatency in interface CountereventLatency - The event latencyCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.