vertx / io.vertx.ext.dropwizard / ThroughputTimer

ThroughputTimer

open class ThroughputTimer : Timer

A throughput metric, wraps a Meter object to provide a one second instant throughput value returned by #getValue().

Author
Julien Viet

Constructors

<init>

ThroughputTimer()

A throughput metric, wraps a Meter object to provide a one second instant throughput value returned by #getValue().

Functions

getValue

open fun getValue(): Long

update

open fun update(duration: Long, unit: TimeUnit): Unit