Interface Histogram
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FixedBoundaryVictoriaMetricsHistogram
,NoopHistogram
,StepBucketHistogram
,TimeWindowFixedBoundaryHistogram
,TimeWindowPercentileHistogram
The contract for histograms used to generate distribution statistics for
Timer
and DistributionSummary
.- Since:
- 1.0.3
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
void
recordDouble
(double value) void
recordLong
(long value) takeSnapshot
(long count, double total, double max)
-
Method Details
-
recordLong
void recordLong(long value) -
recordDouble
void recordDouble(double value) -
takeSnapshot
-
close
default void close()- Specified by:
close
in interfaceAutoCloseable
-