Package org.apache.iotdb.metrics.impl
Class DoNothingRate
- java.lang.Object
-
- org.apache.iotdb.metrics.utils.AbstractMetricMBean
-
- org.apache.iotdb.metrics.impl.DoNothingRate
-
- All Implemented Interfaces:
DoNothingMetric,IMetric,Rate
public class DoNothingRate extends AbstractMetricMBean implements Rate, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingRate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()Get the value of rate.doublegetMeanRate()Get mean rate.doublegetOneMinuteRate()Get one minute rate.voidmark()Mark in rate.voidmark(long n)Mark n in rate.-
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.IMetric
setObjectName
-
Methods inherited from interface org.apache.iotdb.metrics.type.Rate
constructValueMap
-
-
-
-
Method Detail
-
getCount
public long getCount()
Description copied from interface:RateGet the value of rate.
-
getOneMinuteRate
public double getOneMinuteRate()
Description copied from interface:RateGet one minute rate.- Specified by:
getOneMinuteRatein interfaceRate
-
getMeanRate
public double getMeanRate()
Description copied from interface:RateGet mean rate.- Specified by:
getMeanRatein interfaceRate
-
mark
public void mark()
Description copied from interface:RateMark in rate.
-
-