Uses of Interface
io.helidon.metrics.api.Timer.Builder
Packages that use Timer.Builder
Package
Description
Defines the Helidon metrics API so Helidon metrics-capable components can implement metrics simply and without regard for
whether metrics is actually on the runtime path or not or is enabled or not.
-
Uses of Timer.Builder in io.helidon.metrics.api
Subinterfaces with type arguments of type Timer.Builder in io.helidon.metrics.apiMethods in io.helidon.metrics.api that return Timer.BuilderModifier and TypeMethodDescriptionUnits for the timer; developers are encouraged to useTimer.Builder.baseUnit(java.util.concurrent.TimeUnit)instead.default Timer.BuilderUnits for the timer.Sets the boundary boundaries.static Timer.BuilderDeprecated, for removal: This API element is subject to removal in a future version.Timer.Builder.maximumExpectedValue(Duration max) Sets the maximum expected value the timer is expected to record.Timer.Builder.minimumExpectedValue(Duration min) Sets the minimum expected value the timer is expected to record.Timer.Builder.percentiles(double... percentiles) Sets the percentiles to compute and publish (expressing, for example, the 95th percentile as 0.95).Timer.Builder.publishPercentileHistogram(boolean value) Prepares the timer to publish a percentile histogram.MetricsFactory.timerBuilder(String name) Creates a builder for aTimer.
MetricsFactoryfromServiceRegistry, which may be inefficient.