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(java.util.Map<java.lang.String,java.lang.Object> result)longcount()Get the value of histogram.HistogramSnapshottakeSnapshot()Take snapshot of histogram.voidupdate(long value)Update histogram by value.
-
-
-
Method Detail
-
update
void update(long value)
Update histogram by value.
-
count
long count()
Get the value of histogram.
-
takeSnapshot
HistogramSnapshot takeSnapshot()
Take snapshot of histogram.
-
constructValueMap
default void constructValueMap(java.util.Map<java.lang.String,java.lang.Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-