Uses of Interface
io.helidon.metrics.api.Timer.Sample
Packages that use Timer.Sample
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.Sample in io.helidon.metrics.api
Methods in io.helidon.metrics.api that return Timer.SampleModifier and TypeMethodDescriptionstatic Timer.SampleTimer.start()Deprecated, for removal: This API element is subject to removal in a future version.static Timer.SampleDeprecated, for removal: This API element is subject to removal in a future version.this method getsMetricsFactoryfromServiceRegistry, which may be inefficient.static Timer.SampleTimer.start(MeterRegistry registry) Deprecated, for removal: This API element is subject to removal in a future version.callMetricsFactory.timerStart(MeterRegistry)on the registry's owning factory insteadMetricsFactory.timerStart()Returns aTimer.Samplefor measuring a duration using the system defaultClock.MetricsFactory.timerStart(Clock clock) Returns aTimer.Samplefor measuring a duration using the specifiedClock.MetricsFactory.timerStart(MeterRegistry registry) Returns aTimer.Samplefor measuring a duration, using the clock associated with the specifiedMeterRegistry.
MetricsFactoryfromServiceRegistry, which may be inefficient.