public class NoOpCounter extends AbstractMetric implements Counter
Counter
.Counter.Builder
Constructor and Description |
---|
NoOpCounter(MetricId metricId) |
Modifier and Type | Method and Description |
---|---|
long |
getValue()
Returns the counter's current value.
|
void |
increment(long amount)
Increment the counter by
amount . |
void |
reset()
Reset to the counter's current value to zero.
|
equals, getId, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder, increment, register, unregister
public NoOpCounter(MetricId metricId)
Copyright © 2018 WSO2. All rights reserved.