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 a `Meter` object to provide a one second instant throughput value returned by `getValue()`.
  Author:
    Julien Viet

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.codahale.metrics.Timer

      `com.codahale.metrics.Timer.Context`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ThroughputTimer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Long` | `getValue()`
    `void` | `update(long duration, TimeUnit unit)`

    - ### Methods inherited from class com.codahale.metrics.Timer

      `getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getSnapshot, time, time`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ThroughputTimer

          public ThroughputTimer()

  - ### Method Detail

    - #### getValue

          public Long getValue()

    - #### update

          public void update(long duration,
                             TimeUnit unit)

      Overrides:
        `update` in class `com.codahale.metrics.Timer`

Copyright © 2016. All rights reserved.