Uses of Class
com.codahale.metrics.Clock
Packages that use Clock
-
Uses of Clock in com.codahale.metrics
Subclasses of Clock in com.codahale.metricsModifier and TypeClassDescriptionstatic class
A clock implementation which returns the current thread's CPU time.static class
A clock implementation which returns the current time in epoch nanoseconds.Fields in com.codahale.metrics declared as ClockModifier and TypeFieldDescriptionprivate final Clock
CachedGauge.clock
private Clock
ConsoleReporter.Builder.clock
private final Clock
ConsoleReporter.clock
private Clock
CsvReporter.Builder.clock
private final Clock
CsvReporter.clock
private final Clock
ExponentiallyDecayingReservoir.clock
private final Clock
Meter.clock
private final Clock
SlidingTimeWindowReservoir.clock
private final Clock
Timer.clock
private final Clock
Timer.Context.clock
private static final Clock
Clock.DEFAULT
Methods in com.codahale.metrics that return ClockMethods in com.codahale.metrics with parameters of type ClockModifier and TypeMethodDescriptionUse the givenClock
instance for the time.Use the givenClock
instance for the time.Constructors in com.codahale.metrics with parameters of type ClockModifierConstructorDescriptionprotected
CachedGauge
(Clock clock, long timeout, TimeUnit timeoutUnit) Creates a new cached gauge with the given clock and timeout period.private
ConsoleReporter
(MetricRegistry registry, PrintStream output, Locale locale, Clock clock, TimeZone timeZone, TimeUnit rateUnit, TimeUnit durationUnit, MetricFilter filter) private
private
CsvReporter
(MetricRegistry registry, File directory, Locale locale, TimeUnit rateUnit, TimeUnit durationUnit, Clock clock, MetricFilter filter) ExponentiallyDecayingReservoir
(int size, double alpha, Clock clock) Creates a newExponentiallyDecayingReservoir
.Creates a newMeter
.SlidingTimeWindowReservoir
(long window, TimeUnit windowUnit, Clock clock) Creates a newSlidingTimeWindowReservoir
with the given clock and window of time. -
Uses of Clock in com.codahale.metrics.graphite
Fields in com.codahale.metrics.graphite declared as ClockModifier and TypeFieldDescriptionprivate Clock
GraphiteReporter.Builder.clock
private final Clock
GraphiteReporter.clock
Methods in com.codahale.metrics.graphite with parameters of type ClockConstructors in com.codahale.metrics.graphite with parameters of type ClockModifierConstructorDescriptionprivate
GraphiteReporter
(MetricRegistry registry, Graphite graphite, Clock clock, String prefix, TimeUnit rateUnit, TimeUnit durationUnit, MetricFilter filter)