Package io.vertx.ext.dropwizard
Class ThroughputTimer
- java.lang.Object
-
- com.codahale.metrics.Timer
-
- io.vertx.ext.dropwizard.ThroughputTimer
-
- All Implemented Interfaces:
com.codahale.metrics.Counting
,com.codahale.metrics.Metered
,com.codahale.metrics.Metric
,com.codahale.metrics.Sampling
public class ThroughputTimer extends com.codahale.metrics.Timer
A throughput metric, wraps aMeter
object to provide a one second instant throughput value returned bygetValue()
.- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ThroughputTimer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getValue()
void
update(long duration, TimeUnit unit)
-