Uses of Class
com.codahale.metrics.Clock
-
Uses of Clock in com.codahale.metrics
Subclasses of Clock in com.codahale.metricsModifier and TypeClassDescriptionstatic classA clock implementation which returns the current time in epoch nanoseconds.Methods in com.codahale.metrics that return ClockMethods in com.codahale.metrics with parameters of type ClockModifier and TypeMethodDescriptionClock instance used for decay.Use the givenClockinstance for the time.Use the givenClockinstance for the time.Constructors in com.codahale.metrics with parameters of type ClockModifierConstructorDescriptionprotectedCachedGauge(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 newSlidingTimeWindowArrayReservoirwith the given clock and window of time.Creates a newSlidingTimeWindowMovingAverages.SlidingTimeWindowReservoir(long window, TimeUnit windowUnit, Clock clock) Creates a newSlidingTimeWindowReservoirwith the given clock and window of time.