Uses of Class
com.codahale.metrics.Timer
-
Packages that use Timer Package Description com.codahale.metrics com.codahale.metrics.graphite com.codahale.metrics.httpclient com.codahale.metrics.json com.codahale.metrics.servlet -
-
Uses of Timer in com.codahale.metrics
Fields in com.codahale.metrics declared as Timer Modifier and Type Field Description private Timer
JmxReporter.JmxTimer. metric
private Timer
Timer.Context. timer
Fields in com.codahale.metrics with type parameters of type Timer Modifier and Type Field Description static MetricRegistry.MetricBuilder<Timer>
MetricRegistry.MetricBuilder. TIMERS
Methods in com.codahale.metrics that return Timer Modifier and Type Method Description Timer
MetricRegistry. timer(java.lang.String name)
Creates a newTimer
and registers it under the given name.Methods in com.codahale.metrics that return types with arguments of type Timer Modifier and Type Method Description java.util.SortedMap<java.lang.String,Timer>
MetricRegistry. getTimers()
Returns a map of all the timers in the registry and their names.java.util.SortedMap<java.lang.String,Timer>
MetricRegistry. getTimers(MetricFilter filter)
Returns a map of all the timers in the registry and their names which match the given filter.Methods in com.codahale.metrics with parameters of type Timer Modifier and Type Method Description private void
Slf4jReporter. logTimer(java.lang.String name, Timer timer)
void
JmxReporter.JmxListener. onTimerAdded(java.lang.String name, Timer timer)
void
MetricRegistryListener.Base. onTimerAdded(java.lang.String name, Timer timer)
void
MetricRegistryListener. onTimerAdded(java.lang.String name, Timer timer)
Called when aTimer
is added to the registry.private void
ConsoleReporter. printTimer(Timer timer)
private void
CsvReporter. reportTimer(long timestamp, java.lang.String name, Timer timer)
Constructors in com.codahale.metrics with parameters of type Timer Constructor Description Context(Timer timer, Clock clock)
JmxTimer(Timer metric, javax.management.ObjectName objectName, java.util.concurrent.TimeUnit rateUnit, java.util.concurrent.TimeUnit durationUnit)
-
Uses of Timer in com.codahale.metrics.graphite
Methods in com.codahale.metrics.graphite with parameters of type Timer Modifier and Type Method Description private void
GraphiteReporter. reportTimer(java.lang.String name, Timer timer, long timestamp)
-
Uses of Timer in com.codahale.metrics.httpclient
Methods in com.codahale.metrics.httpclient that return Timer Modifier and Type Method Description private Timer
InstrumentedRequestDirector. timer(org.apache.http.HttpRequest request)
-
Uses of Timer in com.codahale.metrics.json
Methods in com.codahale.metrics.json with parameters of type Timer Modifier and Type Method Description void
MetricsModule.TimerSerializer. serialize(Timer timer, com.fasterxml.jackson.core.JsonGenerator json, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of Timer in com.codahale.metrics.servlet
Fields in com.codahale.metrics.servlet declared as Timer Modifier and Type Field Description private Timer
AbstractInstrumentedFilter. requestTimer
-