public interface Histogram extends Metric, Sampling, Counting
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Returns the number of values recorded.
|
Snapshot |
getSnapshot()
Returns a snapshot of the values.
|
long |
getSum()
Returns the sum of values recorded.
|
void |
update(int value)
Adds a recorded value.
|
void |
update(long value)
Adds a recorded value.
|
void update(int value)
value
- the length of the valuevoid update(long value)
value
- the length of the valuelong getCount()
long getSum()
Snapshot getSnapshot()
Sampling
getSnapshot
in interface Sampling