Uses of Class
com.codahale.metrics.Clock
-
-
Uses of Clock in com.codahale.metrics
Subclasses of Clock in com.codahale.metrics Modifier and Type Class Description static classClock.UserTimeClockA clock implementation which returns the current time in epoch nanoseconds.Methods in com.codahale.metrics that return Clock Modifier and Type Method Description static ClockClock. defaultClock()The default clock to use.Methods in com.codahale.metrics with parameters of type Clock Modifier and Type Method Description 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 com.codahale.metrics 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)
-