public class HistogramConfig extends java.lang.Object implements Mergeable<HistogramConfig>
Modifier and Type | Class and Description |
---|---|
static class |
HistogramConfig.Builder |
Modifier and Type | Field and Description |
---|---|
static HistogramConfig |
DEFAULT |
static HistogramConfig |
NONE |
Constructor and Description |
---|
HistogramConfig() |
Modifier and Type | Method and Description |
---|---|
static HistogramConfig.Builder |
builder() |
java.util.NavigableSet<java.lang.Long> |
getHistogramBuckets(boolean supportsAggregablePercentiles) |
java.lang.Integer |
getHistogramBufferLength() |
java.time.Duration |
getHistogramExpiry() |
java.lang.Long |
getMaximumExpectedValue() |
java.lang.Long |
getMinimumExpectedValue() |
double[] |
getPercentiles() |
long[] |
getSlaBoundaries() |
java.lang.Boolean |
isPercentileHistogram() |
boolean |
isPublishingHistogram() |
HistogramConfig |
merge(HistogramConfig parent)
Merge the current value set with that of the supplied object.
|
public static final HistogramConfig DEFAULT
public static final HistogramConfig NONE
public HistogramConfig merge(HistogramConfig parent)
Mergeable
merge
in interface Mergeable<HistogramConfig>
parent
- the object to merge withpublic boolean isPublishingHistogram()
public java.util.NavigableSet<java.lang.Long> getHistogramBuckets(boolean supportsAggregablePercentiles)
public java.lang.Boolean isPercentileHistogram()
public double[] getPercentiles()
public java.lang.Long getMinimumExpectedValue()
public java.lang.Long getMaximumExpectedValue()
public java.time.Duration getHistogramExpiry()
public java.lang.Integer getHistogramBufferLength()
public long[] getSlaBoundaries()
public static HistogramConfig.Builder builder()