public interface Counter
Modifier and Type | Method and Description |
---|---|
void |
add(long delta)
Add delta to the value associated with this stat.
|
void |
clear()
Clear this stat.
|
void |
dec()
Decrement the value associated with this stat.
|
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 add(long delta)
delta
- Long get()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.