Class Summary.DataPoint
Object
DataPoint
- All Implemented Interfaces:
DataPoint, DistributionDataPoint, TimerApi
- Enclosing class:
Summary
-
Method Summary
Modifier and TypeMethodDescriptionlonggetCount()Get the count of observations.doublegetSum()Get the sum of all observed values.voidobserve(double value) Observevalue.voidobserveWithExemplar(double value, Labels labels) Observevalue, and create a custom exemplar with the given labels.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DistributionDataPoint
startTimerMethods inherited from interface TimerApi
time, time, timeChecked
-
Method Details
-
getSum
Description copied from interface:DistributionDataPointGet the sum of all observed values.- Specified by:
getSumin interfaceDistributionDataPoint
-
getCount
Description copied from interface:DistributionDataPointGet the count of observations.- Specified by:
getCountin interfaceDistributionDataPoint
-
observe
Description copied from interface:DistributionDataPointObservevalue.- Specified by:
observein interfaceDistributionDataPoint
-
observeWithExemplar
Description copied from interface:DistributionDataPointObservevalue, and create a custom exemplar with the given labels.- Specified by:
observeWithExemplarin interfaceDistributionDataPoint
-