Package org.apache.iotdb.metrics.impl
Class DoNothingHistogram
- java.lang.Object
-
- org.apache.iotdb.metrics.impl.DoNothingHistogram
-
- All Implemented Interfaces:
DoNothingMetric,Histogram,IMetric
public class DoNothingHistogram extends java.lang.Object implements Histogram, DoNothingMetric
-
-
Constructor Summary
Constructors Constructor Description DoNothingHistogram()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()Get the value of histogramHistogramSnapshottakeSnapshot()Take snapshot of histogramvoidupdate(long value)Update histogram by value-
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.Histogram
constructValueMap
-
-
-
-
Method Detail
-
update
public void update(long value)
Description copied from interface:HistogramUpdate histogram by value
-
count
public long count()
Description copied from interface:HistogramGet the value of histogram
-
takeSnapshot
public HistogramSnapshot takeSnapshot()
Description copied from interface:HistogramTake snapshot of histogram- Specified by:
takeSnapshotin interfaceHistogram
-
-