Package org.apache.iotdb.metrics.impl
Class DoNothingCounter
- java.lang.Object
-
- org.apache.iotdb.metrics.utils.AbstractMetricMBean
-
- org.apache.iotdb.metrics.impl.DoNothingCounter
-
- All Implemented Interfaces:
DoNothingMetric,Counter,IMetric
public class DoNothingCounter extends AbstractMetricMBean implements Counter, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()Get the value of counter.voidinc()Counter add 1.voidinc(long n)Counter add n.-
Methods inherited from class org.apache.iotdb.metrics.utils.AbstractMetricMBean
objectName, setObjectName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.iotdb.metrics.type.Counter
constructValueMap
-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-