Package org.apache.iotdb.metrics.impl
Class DoNothingGauge
- java.lang.Object
-
- org.apache.iotdb.metrics.utils.AbstractMetricMBean
-
- org.apache.iotdb.metrics.impl.DoNothingGauge
-
- All Implemented Interfaces:
DoNothingMetric,Gauge,IMetric
public class DoNothingGauge extends AbstractMetricMBean implements Gauge, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecr(long value)Decrease the value stored in gauge.longgetValue()Get value stored in gauge.voidincr(long value)Increase the value stored in gauge.voidset(long value)Set value.-
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.Gauge
constructValueMap
-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
getValue
public long getValue()
Description copied from interface:GaugeGet value stored in gauge.
-
incr
public void incr(long value)
Description copied from interface:GaugeIncrease the value stored in gauge.
-
decr
public void decr(long value)
Description copied from interface:GaugeDecrease the value stored in gauge.
-
-