Class DropwizardDistributionSummary
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.AbstractDistributionSummary
io.micrometer.core.instrument.dropwizard.DropwizardDistributionSummary
- All Implemented Interfaces:
HistogramSupport, DistributionSummary, Meter
-
Nested Class Summary
Nested classes/interfaces inherited from interface DistributionSummary
DistributionSummary.BuilderNested classes/interfaces inherited from interface Meter
Meter.Builder, Meter.Id, Meter.MeterProvider<T>, Meter.Type -
Field Summary
Fields inherited from class AbstractDistributionSummary
histogram -
Method Summary
Modifier and TypeMethodDescriptionlongcount()doublemax()protected voidrecordNonNegative(double amount) doubleMethods inherited from class AbstractDistributionSummary
defaultHistogram, record, takeSnapshotMethods inherited from class AbstractMeter
equals, getId, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DistributionSummary
histogramCountAtValue, mean, measure, percentileMethods inherited from interface HistogramSupport
takeSnapshot
-
Method Details
-
recordNonNegative
protected void recordNonNegative(double amount) - Specified by:
recordNonNegativein classAbstractDistributionSummary
-
count
public long count()- Returns:
- The number of times that record has been called since this timer was created.
-
totalAmount
public double totalAmount()- Returns:
- The total amount of all recorded events.
-
max
public double max()- Returns:
- The maximum time of a single event.
-