Package org.apache.iotdb.metrics.type
Interface Histogram
-
- All Superinterfaces:
IMetric
- All Known Implementing Classes:
DoNothingHistogram
public interface Histogram extends IMetric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconstructValueMap(Map<String,Object> result)longgetCount()Get the value of histogram.HistogramSnapshottakeSnapshot()Take snapshot of histogram.voidupdate(long value)Update histogram by value.-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
update
void update(long value)
Update histogram by value.
-
getCount
long getCount()
Get the value of histogram.
-
takeSnapshot
HistogramSnapshot takeSnapshot()
Take snapshot of histogram.
-
constructValueMap
default void constructValueMap(Map<String,Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-