Module io.helidon.metrics.api
Package io.helidon.metrics.api
Interface DistributionStatisticsConfig.Builder
- All Superinterfaces:
Builder<DistributionStatisticsConfig.Builder,
,DistributionStatisticsConfig> Supplier<DistributionStatisticsConfig>
,Wrapper
- Enclosing interface:
DistributionStatisticsConfig
public static interface DistributionStatisticsConfig.Builder
extends Wrapper, Builder<DistributionStatisticsConfig.Builder,DistributionStatisticsConfig>
Builder for a new
DistributionStatisticsConfig
instance.-
Method Summary
Modifier and TypeMethodDescriptionbuckets()
Returns the buckets.buckets
(double... buckets) Sets the boundary boundaries.Sets the boundary boundaries.Returns the maximum expected value setting.Sets the maximum value that the meter is expected to observe.Returns the minimum expected value setting.Sets the minimum value that the meter is expected to observe.Returns the percentiles.percentiles
(double... percentiles) Specifies time series percentiles.percentiles
(Iterable<Double> percentiles) Specifies time series percentiles.
-
Method Details
-
minimumExpectedValue
Sets the minimum value that the meter is expected to observe.- Parameters:
min
- minimum value that this distribution summary is expected to observe- Returns:
- updated builder
-
maximumExpectedValue
Sets the maximum value that the meter is expected to observe.- Parameters:
max
- maximum value that the meter is expected to observe- Returns:
- updated builder
-
percentiles
Specifies time series percentiles.The system computes these percentiles locally, so they cannot be aggregated with percentiles computed elsewhere.
Specify percentiles a decimals, for example express the 95th percentile as
0.95
.- Parameters:
percentiles
- percentiles to compute and publish- Returns:
- updated builder
-
percentiles
Specifies time series percentiles.The system computes these percentiles locally, so they cannot be aggregated with percentiles computed elsewhere.
Specify percentiles a decimals, for example express the 95th percentile as
0.95
.- Parameters:
percentiles
- percentiles to compute and publish- Returns:
- updated builder
-
buckets
Sets the boundary boundaries.- Parameters:
buckets
- boundary boundaries- Returns:
- updated builder
-
buckets
Sets the boundary boundaries.- Parameters:
buckets
- boundary boundaries- Returns:
- updated builder
-
minimumExpectedValue
Returns the minimum expected value setting.- Returns:
- min expected value
-
maximumExpectedValue
Returns the maximum expected value setting.- Returns:
- max expected value
-
percentiles
Returns the percentiles.- Returns:
- percentiles
-
buckets
Returns the buckets.- Returns:
- buckets
-