Class DropwizardTimer
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.AbstractTimer
io.micrometer.core.instrument.dropwizard.DropwizardTimer
- All Implemented Interfaces:
HistogramSupport, Meter, Timer
-
Nested Class Summary
Nested classes/interfaces inherited from interface Meter
Meter.Builder, Meter.Id, Meter.MeterProvider<T>, Meter.TypeNested classes/interfaces inherited from interface Timer
Timer.Builder, Timer.ResourceSample, Timer.Sample -
Field Summary
Fields inherited from class AbstractTimer
clock, histogram -
Method Summary
Methods inherited from class AbstractTimer
baseTimeUnit, close, defaultHistogram, record, record, record, record, record, record, record, recordCallable, takeSnapshotMethods inherited from class AbstractMeter
equals, getId, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HistogramSupport
takeSnapshotMethods inherited from interface Timer
histogramCountAtValue, mean, measure, percentile, record, wrap, wrap, wrap
-
Method Details
-
recordNonNegative
- Specified by:
recordNonNegativein classAbstractTimer
-
count
public long count()- Returns:
- The number of times that stop has been called on this timer.
-
totalTime
- Parameters:
unit- The base unit of time to scale the total to.- Returns:
- The total time of recorded events.
-
max
- Parameters:
unit- The base unit of time to scale the max to.- Returns:
- The maximum time of a single event.
-