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(java.util.Map<java.lang.String,java.lang.Object> result)longgetMax()Get max value in valuesdoublegetMean()Get mean value in valuesdoublegetMedian()Get median value in valueslonggetMin()Get min value in valuesdoublegetValue(double quantile)Get value by quantilelong[]getValues()Get values in snapshotintsize()Get the size of values in snapshot
-
-
-
Method Detail
-
getValue
double getValue(double quantile)
Get value by quantile
-
getValues
long[] getValues()
Get values in snapshot
-
size
int size()
Get the size of values in snapshot
-
getMin
long getMin()
Get min value in values
-
getMedian
double getMedian()
Get median value in values
-
getMean
double getMean()
Get mean value in values
-
getMax
long getMax()
Get max value in values
-
constructValueMap
default void constructValueMap(java.util.Map<java.lang.String,java.lang.Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-