Class NicerTimer

java.lang.Object
com.codahale.metrics.Timer
io.nosqlbench.engine.api.metrics.NicerTimer
All Implemented Interfaces:
com.codahale.metrics.Counting, com.codahale.metrics.Metered, com.codahale.metrics.Metric, com.codahale.metrics.Sampling, DeltaSnapshotter, HdrDeltaHistogramAttachment, HdrDeltaHistogramProvider, TimerAttachment

public class NicerTimer
extends com.codahale.metrics.Timer
implements DeltaSnapshotter, HdrDeltaHistogramAttachment, TimerAttachment
  • Nested Class Summary

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

    com.codahale.metrics.Timer.Context
  • Constructor Summary

    Constructors 
    Constructor Description
    NicerTimer​(java.lang.String metricName, DeltaHdrHistogramReservoir deltaHdrHistogramReservoir)  
  • Method Summary

    Modifier and Type Method Description
    NicerTimer attachHdrDeltaHistogram()
    Attach a metric.
    com.codahale.metrics.Timer attachTimer​(com.codahale.metrics.Timer timer)  
    DeltaSnapshotReader getDeltaReader()  
    ConvenientSnapshot getDeltaSnapshot​(long cacheTimeMillis)  
    org.HdrHistogram.Histogram getNextHdrDeltaHistogram()
    Create a new interval histogram from the current data, then reset the histogram reservoir.
    ConvenientSnapshot getSnapshot()  
    void update​(long duration, java.util.concurrent.TimeUnit unit)  

    Methods inherited from class com.codahale.metrics.Timer

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

    Methods inherited from class java.lang.Object

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