public static class TimeHistogram.Builder extends Histogram.Builder<java.lang.Double>
| Modifier and Type | Method and Description |
|---|---|
TimeHistogram.Builder |
bucketTimeScale(java.util.concurrent.TimeUnit bucketTimeScale)
Set the time scale that the buckets should be represented in.
|
TimeHistogram |
create(Histogram.Summation defaultSummationMode) |
TimeHistogram.Builder |
filterBuckets(BucketFilter<java.lang.Double> filter) |
TimeHistogram.Builder |
summation(Histogram.Summation summation) |
public TimeHistogram.Builder summation(Histogram.Summation summation)
summation in class Histogram.Builder<java.lang.Double>public TimeHistogram.Builder filterBuckets(BucketFilter<java.lang.Double> filter)
filterBuckets in class Histogram.Builder<java.lang.Double>public TimeHistogram.Builder bucketTimeScale(java.util.concurrent.TimeUnit bucketTimeScale)
bucketTimeScale is seconds, then the buckets that are reported will be
[0.001, ..., 0.01]. Future values observed by this histogram will also be assumed to be in bucketTimeScale
units and scaled to the bucket function's base unit.bucketTimeScale - Should always correspond to the base time unit of the monitoring system for consistency.public TimeHistogram create(Histogram.Summation defaultSummationMode)
create in class Histogram.Builder<java.lang.Double>