public class Percentiles extends SampledStat implements CompoundStat
| Modifier and Type | Class and Description |
|---|---|
static class |
Percentiles.BucketSizing |
CompoundStat.NamedMeasurable| Constructor and Description |
|---|
Percentiles(int sizeInBytes,
double min,
double max,
Percentiles.BucketSizing bucketing,
Percentile... percentiles) |
Percentiles(int sizeInBytes,
double max,
Percentiles.BucketSizing bucketing,
Percentile... percentiles) |
| Modifier and Type | Method and Description |
|---|---|
double |
combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples,
MetricConfig config,
long now) |
List<CompoundStat.NamedMeasurable> |
stats() |
double |
value(MetricConfig config,
long now,
double quantile) |
current, measure, oldest, record, toStringpublic Percentiles(int sizeInBytes,
double max,
Percentiles.BucketSizing bucketing,
Percentile... percentiles)
public Percentiles(int sizeInBytes,
double min,
double max,
Percentiles.BucketSizing bucketing,
Percentile... percentiles)
public List<CompoundStat.NamedMeasurable> stats()
stats in interface CompoundStatpublic double value(MetricConfig config, long now, double quantile)
public double combine(List<org.apache.kafka.common.metrics.stats.SampledStat.Sample> samples, MetricConfig config, long now)
combine in class SampledStat