[#BloombergLP-balm-IntegerCollector-loadAndReset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]::loadAndReset :relfileprefix: ../../../ :mrdocs: Load into the specified `record` the id of the metric being collected as well as the current count, total, minimum, and maximum aggregated values for that metric; then reset the count, total, minimum, and maximum values to their default states. After this operation, the count and total values will be 0, the minimum value will be `k_DEFAULT_MIN`, and the maximum value will be `k_DEFAULT_MAX`. Note that `k_DEFAULT_MIN != MetricRecord::k_DEFAULT_MIN` and `k_DEFAULT_MAX != MetricRecord::k_DEFAULT_MAX`; when populating `record`, this operation will convert default values for minimum and maximum. A minimum value of `k_DEFAULT_MIN` will populate a minimum value of `MetricRecord::k_DEFAULT_MIN` and a maximum value of `k_DEFAULT_MAX` will populate a maximum value of `MetricRecord::k_DEFAULT_MAX`. == Synopsis Declared in `<balm_integercollector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void loadAndReset(xref:BloombergLP/balm/MetricRecord.adoc[MetricRecord]* records); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#