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 TimerJmxReporter.JmxTimer. metricprivate TimerTimer.Context. timerFields in com.codahale.metrics with type parameters of type Timer Modifier and Type Field Description static MetricRegistry.MetricBuilder<Timer>MetricRegistry.MetricBuilder. TIMERSMethods in com.codahale.metrics that return Timer Modifier and Type Method Description TimerMetricRegistry. timer(java.lang.String name)Creates a newTimerand 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 voidSlf4jReporter. logTimer(java.lang.String name, Timer timer)voidJmxReporter.JmxListener. onTimerAdded(java.lang.String name, Timer timer)voidMetricRegistryListener.Base. onTimerAdded(java.lang.String name, Timer timer)voidMetricRegistryListener. onTimerAdded(java.lang.String name, Timer timer)Called when aTimeris added to the registry.private voidConsoleReporter. printTimer(Timer timer)private voidCsvReporter. 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 voidGraphiteReporter. 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 TimerInstrumentedRequestDirector. 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 voidMetricsModule.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 TimerAbstractInstrumentedFilter. requestTimer
-