Package org.apache.iotdb.metrics.impl
Class DoNothingHistogramSnapshot
- java.lang.Object
-
- org.apache.iotdb.metrics.utils.AbstractMetricMBean
-
- org.apache.iotdb.metrics.impl.DoNothingHistogramSnapshot
-
- All Implemented Interfaces:
DoNothingMetric,HistogramSnapshot,IMetric
public class DoNothingHistogramSnapshot extends AbstractMetricMBean implements HistogramSnapshot, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingHistogramSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 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.HistogramSnapshot
constructValueMap
-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
getValue
public double getValue(double quantile)
Description copied from interface:HistogramSnapshotGet value by quantile.- Specified by:
getValuein interfaceHistogramSnapshot
-
getSum
public double getSum()
Description copied from interface:HistogramSnapshotGet sum.- Specified by:
getSumin interfaceHistogramSnapshot
-
size
public int size()
Description copied from interface:HistogramSnapshotGet the size of values in snapshot.- Specified by:
sizein interfaceHistogramSnapshot
-
getMax
public double getMax()
Description copied from interface:HistogramSnapshotGet max value in values.- Specified by:
getMaxin interfaceHistogramSnapshot
-
getMean
public double getMean()
Description copied from interface:HistogramSnapshotGet mean value in values.- Specified by:
getMeanin interfaceHistogramSnapshot
-
-