Constructor and Description |
---|
DelegatingCounter(MetricName name) |
Modifier and Type | Method and Description |
---|---|
void |
dec() |
void |
dec(long n) |
MetricName |
getName()
The
MetricName given to this metric. |
void |
inc()
Increment the counter.
|
void |
inc(long n)
Increment the counter by the given amount.
|
public DelegatingCounter(MetricName name)
public void inc(long n)
public MetricName getName()
Metric
MetricName
given to this metric.