Uses of Class
io.dropwizard.metrics5.Clock
-
Uses of Clock in io.dropwizard.metrics5
Subclasses of Clock in io.dropwizard.metrics5Modifier and TypeClassDescriptionstatic class
A clock implementation which returns the current time in epoch nanoseconds.Methods in io.dropwizard.metrics5 that return ClockMethods in io.dropwizard.metrics5 with parameters of type ClockModifier and TypeMethodDescriptionClock instance used for decay.Use the givenClock
instance for the time.Use the givenClock
instance for the time.Constructors in io.dropwizard.metrics5 with parameters of type ClockModifierConstructorDescriptionprotected
CachedGauge
(Clock clock, long timeout, TimeUnit timeoutUnit) Creates a new cached gauge with the given clock and timeout period.ExponentiallyDecayingReservoir
(int size, double alpha, Clock clock) Creates a newExponentiallyDecayingReservoir
.ExponentialMovingAverages
(Clock clock) Creates a newExponentialMovingAverages
.Creates a newMeter
.Meter
(MovingAverages movingAverages, Clock clock) Creates a newMeter
.SlidingTimeWindowArrayReservoir
(long window, TimeUnit windowUnit, Clock clock) Creates a newSlidingTimeWindowArrayReservoir
with the given clock and window of time.Creates a newSlidingTimeWindowMovingAverages
.SlidingTimeWindowReservoir
(long window, TimeUnit windowUnit, Clock clock) Creates a newSlidingTimeWindowReservoir
with the given clock and window of time.