Package org.apache.iotdb.metrics.impl
Class DoNothingHistogramSnapshot
- java.lang.Object
-
- org.apache.iotdb.metrics.impl.DoNothingHistogramSnapshot
-
- All Implemented Interfaces:
DoNothingMetric,HistogramSnapshot,IMetric
public class DoNothingHistogramSnapshot extends java.lang.Object implements HistogramSnapshot, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingHistogramSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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-
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
-
-
-
-
Method Detail
-
getValue
public double getValue(double quantile)
Description copied from interface:HistogramSnapshotGet value by quantile- Specified by:
getValuein interfaceHistogramSnapshot
-
getValues
public long[] getValues()
Description copied from interface:HistogramSnapshotGet values in snapshot- Specified by:
getValuesin interfaceHistogramSnapshot
-
size
public int size()
Description copied from interface:HistogramSnapshotGet the size of values in snapshot- Specified by:
sizein interfaceHistogramSnapshot
-
getMedian
public double getMedian()
Description copied from interface:HistogramSnapshotGet median value in values- Specified by:
getMedianin interfaceHistogramSnapshot
-
getMax
public long 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
-
getMin
public long getMin()
Description copied from interface:HistogramSnapshotGet min value in values- Specified by:
getMinin interfaceHistogramSnapshot
-
-