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()Starts a timing sample using the default system clock.static Timer.SampleStarts a timing sample using the specified clock.static Timer.SampleTimer.start(MeterRegistry registry) Starts a timing sample using the clock associated with the specifiedMeterRegistry.MetricsFactory.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.