Adds a new datapoint to the histogram.
Clears all the data from the histogram.
Returns an immutable snapshot of the state of the histogram right now.
Returns an immutable snapshot of the state of the histogram right now.
If the underlying histogram is latched or buffered, data might be slow to appear or might disappear after some time passes.
To reread the histogram, snapshot must be called again.
A histogram that supports writing, querying, and resetting.
This API is too powerful for normal usage, but is useful for implementors.