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
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    update(long duration, TimeUnit unit)
     

    Methods inherited from class com.codahale.metrics.Timer

    getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getSnapshot, time, time, time, timeSupplier, update

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThroughputTimer

      public ThroughputTimer()
  • Method Details

    • getValue

      public Long getValue()
    • update

      public void update(long duration, TimeUnit unit)
      Overrides:
      update in class com.codahale.metrics.Timer