Modifier and Type | Class and Description |
---|---|
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 . |
SlidingTimeWindowArrayReservoir(long window,
TimeUnit windowUnit,
Clock clock)
Creates a new
SlidingTimeWindowArrayReservoir with the given clock and window of time. |
SlidingTimeWindowReservoir(long window,
TimeUnit windowUnit,
Clock clock)
Creates a new
SlidingTimeWindowReservoir with the given clock and window of time. |
Timer(Reservoir reservoir,
Clock clock)
|
Copyright © 2018. All Rights Reserved.