Package org.apache.iotdb.metrics.type
Interface Rate
-
- All Superinterfaces:
IMetric
- All Known Implementing Classes:
DoNothingRate
public interface Rate extends IMetric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconstructValueMap(Map<String,Object> result)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 interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
getCount
long getCount()
Get the value of rate.
-
getOneMinuteRate
double getOneMinuteRate()
Get one minute rate.
-
getMeanRate
double getMeanRate()
Get mean rate.
-
mark
void mark()
Mark in rate.
-
mark
void mark(long n)
Mark n in rate.
-
constructValueMap
default void constructValueMap(Map<String,Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-