public class TimeWindowFixedBoundaryHistogram extends Object
| Constructor and Description |
|---|
TimeWindowFixedBoundaryHistogram(Clock clock,
DistributionStatisticConfig config,
boolean supportsAggregablePercentiles) |
| Modifier and Type | Method and Description |
|---|---|
protected U |
accumulatedHistogram() |
protected T |
currentHistogram() |
void |
recordDouble(double value) |
void |
recordLong(long value) |
HistogramSnapshot |
takeSnapshot(long count,
double total,
double max) |
public TimeWindowFixedBoundaryHistogram(Clock clock, DistributionStatisticConfig config, boolean supportsAggregablePercentiles)
public final HistogramSnapshot takeSnapshot(long count, double total, double max)
takeSnapshot in interface Histogrampublic void recordLong(long value)
recordLong in interface Histogrampublic void recordDouble(double value)
recordDouble in interface Histogramprotected U accumulatedHistogram()
protected T currentHistogram()
Copyright © 2020 LeanCloud. All rights reserved.