Package org.eclipse.microprofile.metrics
Interface Histogram
A metric which calculates the distribution of a value.
- See Also:
-
Method Details
-
update
void update(int value) Adds a recorded value.- Parameters:
value- the length of the value
-
update
void update(long value) Adds a recorded value.- Parameters:
value- the length of the value
-
getCount
long getCount()Returns the number of values recorded. -
getSnapshot
Snapshot getSnapshot()Description copied from interface:SamplingReturns a snapshot of the values.- Specified by:
getSnapshotin interfaceSampling- Returns:
- a snapshot of the values
-