Class TimeWindowPercentileHistogram
- java.lang.Object
-
- io.micrometer.core.instrument.distribution.TimeWindowPercentileHistogram
-
- All Implemented Interfaces:
Histogram,java.lang.AutoCloseable
public class TimeWindowPercentileHistogram extends java.lang.ObjectA histogram implementation that supports the computation of percentiles by Micrometer for publishing to a monitoring system.
-
-
Constructor Summary
Constructors Constructor Description TimeWindowPercentileHistogram(Clock clock, DistributionStatisticConfig distributionStatisticConfig, boolean supportsAggregablePercentiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected UaccumulatedHistogram()protected TcurrentHistogram()voidrecordDouble(double value)voidrecordLong(long value)HistogramSnapshottakeSnapshot(long count, double total, double max)
-
-
-
Constructor Detail
-
TimeWindowPercentileHistogram
public TimeWindowPercentileHistogram(Clock clock, DistributionStatisticConfig distributionStatisticConfig, boolean supportsAggregablePercentiles)
-
-
Method Detail
-
takeSnapshot
public final HistogramSnapshot takeSnapshot(long count, double total, double max)
- Specified by:
takeSnapshotin interfaceHistogram
-
recordLong
public void recordLong(long value)
- Specified by:
recordLongin interfaceHistogram
-
recordDouble
public void recordDouble(double value)
- Specified by:
recordDoublein interfaceHistogram
-
accumulatedHistogram
protected U accumulatedHistogram()
-
currentHistogram
protected T currentHistogram()
-
-