Package org.apache.iotdb.metrics.type
Interface HistogramSnapshot
-
- All Superinterfaces:
IMetric
- All Known Implementing Classes:
DoNothingHistogramSnapshot
public interface HistogramSnapshot extends IMetric
Used by timer and histogram.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconstructValueMap(Map<String,Object> result)doublegetMax()Get max value in values.doublegetMean()Get mean value in values.doublegetSum()Get sum.doublegetValue(double quantile)Get value by quantile.intsize()Get the size of values in snapshot.-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
getValue
double getValue(double quantile)
Get value by quantile.
-
getSum
double getSum()
Get sum.
-
size
int size()
Get the size of values in snapshot.
-
getMean
double getMean()
Get mean value in values.
-
getMax
double getMax()
Get max value in values.
-
constructValueMap
default void constructValueMap(Map<String,Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-