This implementation is meant to be used for real time data collection where data snapshots are taken often over time.
The collect(..) operation extracts all the recorded values from the histogram and resets the counts, but still
leave it in a consistent state even in the case of concurrent modification while the snapshot is being taken.
This implementation is meant to be used for real time data collection where data snapshots are taken often over time. The collect(..) operation extracts all the recorded values from the histogram and resets the counts, but still leave it in a consistent state even in the case of concurrent modification while the snapshot is being taken.