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 classClock.UserTimeClockA clock implementation which returns the current time in epoch nanoseconds.Methods in io.dropwizard.metrics5 that return Clock Modifier and Type Method Description static ClockClock. defaultClock()The default clock to use.Methods in io.dropwizard.metrics5 with parameters of type Clock Modifier and Type Method Description LockFreeExponentiallyDecayingReservoir.BuilderLockFreeExponentiallyDecayingReservoir.Builder. clock(Clock value)Clock instance used for decay.ConsoleReporter.BuilderConsoleReporter.Builder. withClock(Clock clock)Use the givenClockinstance for the time.CsvReporter.BuilderCsvReporter.Builder. withClock(Clock clock)Use the givenClockinstance 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 newSlidingTimeWindowArrayReservoirwith the given clock and window of time.SlidingTimeWindowMovingAverages(Clock clock)Creates a newSlidingTimeWindowMovingAverages.SlidingTimeWindowReservoir(long window, TimeUnit windowUnit, Clock clock)Creates a newSlidingTimeWindowReservoirwith the given clock and window of time.Timer(Meter meter, Histogram histogram, Clock clock)Timer(Reservoir reservoir, Clock clock)
-