Uses of Class
com.codahale.metrics.Clock
-
Packages that use Clock Package Description com.codahale.metrics com.codahale.metrics.graphite -
-
Uses of Clock in com.codahale.metrics
Subclasses of Clock in com.codahale.metrics Modifier and Type Class Description static class
Clock.CpuTimeClock
A clock implementation which returns the current thread's CPU time.static class
Clock.UserTimeClock
A clock implementation which returns the current time in epoch nanoseconds.Fields in com.codahale.metrics declared as Clock Modifier and Type Field Description private Clock
CachedGauge. clock
private Clock
ConsoleReporter.Builder. clock
private Clock
ConsoleReporter. clock
private Clock
CsvReporter.Builder. clock
private Clock
CsvReporter. clock
private Clock
ExponentiallyDecayingReservoir. clock
private Clock
Meter. clock
private Clock
SlidingTimeWindowReservoir. clock
private Clock
Timer. clock
private Clock
Timer.Context. clock
private static Clock
Clock. DEFAULT
Methods in com.codahale.metrics that return Clock Modifier and Type Method Description static Clock
Clock. defaultClock()
The default clock to use.Methods in com.codahale.metrics with parameters of type Clock Modifier and Type Method Description 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 com.codahale.metrics with parameters of type Clock Constructor Description CachedGauge(Clock clock, long timeout, java.util.concurrent.TimeUnit timeoutUnit)
Creates a new cached gauge with the given clock and timeout period.ConsoleReporter(MetricRegistry registry, java.io.PrintStream output, java.util.Locale locale, Clock clock, java.util.TimeZone timeZone, java.util.concurrent.TimeUnit rateUnit, java.util.concurrent.TimeUnit durationUnit, MetricFilter filter)
Context(Timer timer, Clock clock)
CsvReporter(MetricRegistry registry, java.io.File directory, java.util.Locale locale, java.util.concurrent.TimeUnit rateUnit, java.util.concurrent.TimeUnit durationUnit, Clock clock, MetricFilter filter)
ExponentiallyDecayingReservoir(int size, double alpha, Clock clock)
Creates a newExponentiallyDecayingReservoir
.Meter(Clock clock)
Creates a newMeter
.SlidingTimeWindowReservoir(long window, java.util.concurrent.TimeUnit windowUnit, Clock clock)
Creates a newSlidingTimeWindowReservoir
with the given clock and window of time.Timer(Reservoir reservoir, Clock clock)
-
Uses of Clock in com.codahale.metrics.graphite
Fields in com.codahale.metrics.graphite declared as Clock Modifier and Type Field Description private Clock
GraphiteReporter.Builder. clock
private Clock
GraphiteReporter. clock
Methods in com.codahale.metrics.graphite with parameters of type Clock Modifier and Type Method Description GraphiteReporter.Builder
GraphiteReporter.Builder. withClock(Clock clock)
Use the givenClock
instance for the time.Constructors in com.codahale.metrics.graphite with parameters of type Clock Constructor Description GraphiteReporter(MetricRegistry registry, Graphite graphite, Clock clock, java.lang.String prefix, java.util.concurrent.TimeUnit rateUnit, java.util.concurrent.TimeUnit durationUnit, MetricFilter filter)
-