public class NoOpCounter extends java.lang.Object implements Counter
| Modifier and Type | Method and Description | 
|---|---|
| void | dec() | 
| void | dec(long n) | 
| static NoOpCounter | getInstance() | 
| MetricName | getName()The  MetricNamegiven to this metric. | 
| void | inc()Increment the counter. | 
| void | inc(long n)Increment the counter by the given amount. | 
public void inc()
Counterpublic void inc(long n)
Counterpublic MetricName getName()
MetricMetricName given to this metric.public static NoOpCounter getInstance()