public class HistogramConfig extends Object implements org.forgerock.monitoring.api.instrument.internal.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() |
NavigableSet<Long> |
getHistogramBuckets(boolean supportsAggregablePercentiles) |
Integer |
getHistogramBufferLength() |
Duration |
getHistogramExpiry() |
Long |
getMaximumExpectedValue() |
Long |
getMinimumExpectedValue() |
double[] |
getPercentiles() |
long[] |
getSlaBoundaries() |
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)
org.forgerock.monitoring.api.instrument.internal.Mergeable
merge
in interface org.forgerock.monitoring.api.instrument.internal.Mergeable<HistogramConfig>
parent
- the object to merge withpublic boolean isPublishingHistogram()
public NavigableSet<Long> getHistogramBuckets(boolean supportsAggregablePercentiles)
@Nullable public double[] getPercentiles()
@Nullable public long[] getSlaBoundaries()
Copyright 2010-2022 ForgeRock AS.