public class CounterImpl extends AbstractMeter implements Counter
DoubleAdder to add count| Modifier and Type | Class and Description |
|---|---|
static class |
CounterImpl.Builder |
Counter.Mode| Modifier and Type | Field and Description |
|---|---|
protected DoubleAdder |
count |
protected Counter.Mode |
mode |
meterId| Modifier | Constructor and Description |
|---|---|
protected |
CounterImpl(MeterId meterId,
Counter.Mode mode) |
| Modifier and Type | Method and Description |
|---|---|
double |
agentGet()
Using at the Skywalking agent get, make is support
Mode#RATE |
double |
get()
Get count value
|
void |
increment(double count)
Increment count
|
equals, getMeterId, getName, getTag, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMeterId, getName, getTagprotected final DoubleAdder count
protected final Counter.Mode mode
protected CounterImpl(MeterId meterId, Counter.Mode mode)
Copyright © 2020 The Apache Software Foundation. All rights reserved.