Class HistogramConfig.Builder
- java.lang.Object
-
- org.forgerock.monitoring.api.instrument.histogram.HistogramConfig.Builder
-
- Enclosing class:
- HistogramConfig
public static class HistogramConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistogramConfig
build()
HistogramConfig.Builder
histogramBufferLength(Integer bufferLength)
HistogramConfig.Builder
histogramExpiry(Duration expiry)
HistogramConfig.Builder
maximumExpectedValue(Long max)
HistogramConfig.Builder
minimumExpectedValue(Long min)
HistogramConfig.Builder
percentiles(double... percentiles)
HistogramConfig.Builder
percentilesHistogram(Boolean enabled)
HistogramConfig.Builder
sla(long... sla)
-
-
-
Method Detail
-
percentilesHistogram
public HistogramConfig.Builder percentilesHistogram(@Nullable Boolean enabled)
-
percentiles
public HistogramConfig.Builder percentiles(@Nullable double... percentiles)
-
sla
public HistogramConfig.Builder sla(@Nullable long... sla)
-
minimumExpectedValue
public HistogramConfig.Builder minimumExpectedValue(@Nullable Long min)
-
maximumExpectedValue
public HistogramConfig.Builder maximumExpectedValue(@Nullable Long max)
-
histogramExpiry
public HistogramConfig.Builder histogramExpiry(@Nullable Duration expiry)
-
histogramBufferLength
public HistogramConfig.Builder histogramBufferLength(@Nullable Integer bufferLength)
-
build
public HistogramConfig build()
-
-