Package io.vertx.ext.dropwizard
Class ThroughputMeter
- java.lang.Object
-
- com.codahale.metrics.Meter
-
- io.vertx.ext.dropwizard.ThroughputMeter
-
- All Implemented Interfaces:
com.codahale.metrics.Counting
,com.codahale.metrics.Metered
,com.codahale.metrics.Metric
public class ThroughputMeter extends com.codahale.metrics.Meter
A throughput metric, wraps aMeter
object to provide a one second instant throughput value returned bygetValue()
.- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ThroughputMeter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getValue()
void
mark()
-
-
-
Method Detail
-
getValue
public Long getValue()
-
mark
public void mark()
- Overrides:
mark
in classcom.codahale.metrics.Meter
-
-