Package | Description |
---|---|
com.codahale.metrics | |
com.codahale.metrics.graphite | |
com.codahale.metrics.jetty8 |
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 |
---|---|
CsvReporter.Builder |
CsvReporter.Builder.withClock(Clock clock)
Use the given
Clock instance for the time. |
ConsoleReporter.Builder |
ConsoleReporter.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. |
Constructor and Description |
---|
InstrumentedBlockingChannelConnector(MetricRegistry registry,
int port,
Clock clock) |
InstrumentedSelectChannelConnector(MetricRegistry registry,
int port,
Clock clock) |
InstrumentedSocketConnector(MetricRegistry registry,
int port,
Clock clock) |
InstrumentedSslSelectChannelConnector(MetricRegistry registry,
int port,
org.eclipse.jetty.util.ssl.SslContextFactory factory,
Clock clock) |
InstrumentedSslSocketConnector(MetricRegistry registry,
int port,
org.eclipse.jetty.util.ssl.SslContextFactory factory,
Clock clock) |
Copyright © 2014. All Rights Reserved.