Package | Description |
---|---|
com.codahale.metrics | |
com.codahale.metrics.graphite |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
static Clock |
Clock.defaultClock()
The default clock to use.
|
Modifier and Type | Method and Description |
---|---|
ConsoleReporter.Builder |
ConsoleReporter.Builder.withClock(Clock clock)
Use the given
Clock instance for the time. |
CsvReporter.Builder |
CsvReporter.Builder.withClock(Clock clock)
Use the given
Clock instance for the time. |
Constructor and 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 new
ExponentiallyDecayingReservoir . |
Meter(Clock clock)
Creates a new
Meter . |
SlidingTimeWindowReservoir(long window,
TimeUnit windowUnit,
Clock clock)
Creates a new
SlidingTimeWindowReservoir with the given clock and window of time. |
Timer(Reservoir reservoir,
Clock clock)
|
Modifier and Type | Method and Description |
---|---|
GraphiteReporter.Builder |
GraphiteReporter.Builder.withClock(Clock clock)
Use the given
Clock instance for the time. |
Copyright © 2023. All rights reserved.