Class CumulativeDistributionSummary
- java.lang.Object
-
- io.micrometer.core.instrument.AbstractMeter
-
- io.micrometer.core.instrument.AbstractDistributionSummary
-
- io.micrometer.core.instrument.cumulative.CumulativeDistributionSummary
-
- All Implemented Interfaces:
HistogramSupport
,DistributionSummary
,Meter
public class CumulativeDistributionSummary extends AbstractDistributionSummary
Cumulative distribution summary.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.DistributionSummary
DistributionSummary.Builder
-
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
Meter.Builder, Meter.Id, Meter.Type
-
-
Field Summary
-
Fields inherited from class io.micrometer.core.instrument.AbstractDistributionSummary
histogram
-
-
Constructor Summary
Constructors Constructor Description CumulativeDistributionSummary(Meter.Id id, Clock clock, DistributionStatisticConfig distributionStatisticConfig, double scale)
Deprecated.CumulativeDistributionSummary(Meter.Id id, Clock clock, DistributionStatisticConfig distributionStatisticConfig, double scale, boolean supportsAggregablePercentiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
count()
double
max()
java.lang.Iterable<Measurement>
measure()
Get a set of measurements.protected void
recordNonNegative(double amount)
double
totalAmount()
-
Methods inherited from class io.micrometer.core.instrument.AbstractDistributionSummary
equals, hashCode, record, takeSnapshot
-
Methods inherited from class io.micrometer.core.instrument.AbstractMeter
getId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.micrometer.core.instrument.DistributionSummary
histogramCountAtValue, mean, percentile
-
Methods inherited from interface io.micrometer.core.instrument.distribution.HistogramSupport
takeSnapshot
-
-
-
-
Constructor Detail
-
CumulativeDistributionSummary
@Deprecated public CumulativeDistributionSummary(Meter.Id id, Clock clock, DistributionStatisticConfig distributionStatisticConfig, double scale)
Deprecated.
-
CumulativeDistributionSummary
public CumulativeDistributionSummary(Meter.Id id, Clock clock, DistributionStatisticConfig distributionStatisticConfig, double scale, boolean supportsAggregablePercentiles)
-
-
Method Detail
-
recordNonNegative
protected void recordNonNegative(double amount)
- Specified by:
recordNonNegative
in 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.
-
measure
public java.lang.Iterable<Measurement> measure()
Description copied from interface:Meter
Get a set of measurements. Should always return the same number of measurements and in the same order, regardless of the level of activity or the lack thereof.- Returns:
- The set of measurements that represents the instantaneous value of this meter.
-
-