Package org.elasticsearch.common.metrics
Class CounterMetric
java.lang.Object
org.elasticsearch.common.metrics.CounterMetric
- All Implemented Interfaces:
Metric
public class CounterMetric extends java.lang.Object implements Metric
-
Constructor Summary
Constructors Constructor Description CounterMetric()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CounterMetric
public CounterMetric()
-
-
Method Details
-
inc
public void inc() -
inc
public void inc(long n) -
dec
public void dec() -
dec
public void dec(long n) -
count
public long count()
-