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 classClock.CpuTimeClockA clock implementation which returns the current thread's CPU time.static classClock.UserTimeClockA clock implementation which returns the current time in epoch nanoseconds.Fields in com.codahale.metrics declared as Clock Modifier and Type Field Description private ClockCachedGauge. clockprivate ClockConsoleReporter.Builder. clockprivate ClockConsoleReporter. clockprivate ClockCsvReporter.Builder. clockprivate ClockCsvReporter. clockprivate ClockExponentiallyDecayingReservoir. clockprivate ClockMeter. clockprivate ClockSlidingTimeWindowReservoir. clockprivate ClockTimer. clockprivate ClockTimer.Context. clockprivate static ClockClock. DEFAULTMethods 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, 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 newSlidingTimeWindowReservoirwith 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 ClockGraphiteReporter.Builder. clockprivate ClockGraphiteReporter. clockMethods in com.codahale.metrics.graphite with parameters of type Clock Modifier and Type Method Description GraphiteReporter.BuilderGraphiteReporter.Builder. withClock(Clock clock)Use the givenClockinstance 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)
-