Uses of Class
io.dropwizard.metrics5.Clock
-
-
Uses of Clock in io.dropwizard.metrics5
Subclasses of Clock in io.dropwizard.metrics5 Modifier and Type Class Description static class
Clock.UserTimeClock
A clock implementation which returns the current time in epoch nanoseconds.Methods in io.dropwizard.metrics5 that return Clock Modifier and Type Method Description static Clock
Clock. defaultClock()
The default clock to use.Methods in io.dropwizard.metrics5 with parameters of type Clock Modifier and Type Method Description LockFreeExponentiallyDecayingReservoir.Builder
LockFreeExponentiallyDecayingReservoir.Builder. clock(Clock value)
Clock instance used for decay.ConsoleReporter.Builder
ConsoleReporter.Builder. withClock(Clock clock)
Use the givenClock
instance for the time.CsvReporter.Builder
CsvReporter.Builder. withClock(Clock clock)
Use the givenClock
instance for the time.Constructors in io.dropwizard.metrics5 with parameters of type Clock Constructor Description 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
.Meter(Clock clock)
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.SlidingTimeWindowMovingAverages(Clock clock)
Creates a newSlidingTimeWindowMovingAverages
.SlidingTimeWindowReservoir(long window, TimeUnit windowUnit, Clock clock)
Creates a newSlidingTimeWindowReservoir
with the given clock and window of time.Timer(Meter meter, Histogram histogram, Clock clock)
Timer(Reservoir reservoir, Clock clock)
-