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
public class DropwizardDistributionSummary extends AbstractDistributionSummary
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.DistributionSummary
DistributionSummary.BuilderNested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type -
Field Summary
-
Method Summary
Modifier and Type Method Description longcount()booleanequals(java.lang.Object o)inthashCode()doublemax()protected voidrecordNonNegative(double amount)doubletotalAmount()Methods inherited from class io.micrometer.core.instrument.AbstractDistributionSummary
record, takeSnapshotMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.core.instrument.DistributionSummary
histogramCountAtValue, mean, measure, percentileMethods inherited from interface io.micrometer.core.instrument.distribution.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.
-
equals
- Overrides:
equalsin classAbstractDistributionSummary
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractDistributionSummary
-