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 static HistogramConfig.Builder builder()
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)
@Nullable public java.lang.Boolean isPercentileHistogram()
@Nullable public double[] getPercentiles()
@Nullable public java.lang.Long getMinimumExpectedValue()
@Nullable public java.lang.Long getMaximumExpectedValue()
@Nullable public java.time.Duration getHistogramExpiry()
@Nullable public java.lang.Integer getHistogramBufferLength()
@Nullable public long[] getSlaBoundaries()