Uses of Interface
io.helidon.metrics.api.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
Modifier and TypeMethodDescriptionstatic Timer.Sample
Timer.start()
Starts a timing sample using the default system clock.static Timer.Sample
Starts a timing sample using the specified clock.static Timer.Sample
Timer.start
(MeterRegistry registry) Starts a timing sample using the clock associated with the specifiedMeterRegistry
.MetricsFactory.timerStart()
Returns aTimer.Sample
for measuring a duration using the system defaultClock
.MetricsFactory.timerStart
(Clock clock) Returns aTimer.Sample
for measuring a duration using the specifiedClock
.MetricsFactory.timerStart
(MeterRegistry registry) Returns aTimer.Sample
for measuring a duration, using the clock associated with the specifiedMeterRegistry
.