public class CounterImpl extends java.lang.Object implements Counter
Counter
.Modifier and Type | Method and Description |
---|---|
void |
dec() |
void |
dec(long n) |
MetricName |
getName() |
void |
inc()
Increment the counter.
|
void |
inc(long n)
Increment the counter by the given amount.
|
public void inc()
Counter
public void inc(long n)
Counter
public MetricName getName()