Package org.apache.iotdb.metrics.impl
Class DoNothingRate
- java.lang.Object
-
- org.apache.iotdb.metrics.impl.DoNothingRate
-
- All Implemented Interfaces:
DoNothingMetric,IMetric,Rate
public class DoNothingRate extends java.lang.Object 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.doublegetFifteenMinuteRate()Get fifteen minute rate.doublegetFiveMinuteRate()Get five minute 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
getFiveMinuteRate
public double getFiveMinuteRate()
Description copied from interface:RateGet five minute rate.- Specified by:
getFiveMinuteRatein interfaceRate
-
getFifteenMinuteRate
public double getFifteenMinuteRate()
Description copied from interface:RateGet fifteen minute rate.- Specified by:
getFifteenMinuteRatein interfaceRate
-
mark
public void mark()
Description copied from interface:RateMark in rate.
-
-