[#BloombergLP-balm-IntegerCollector-update]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]::update
:relfileprefix: ../../../
:mrdocs:

Increment the event count by 1, add the specified `value` to the total, if `value` is less than the minimum value, set `value` to be the minimum value, and if `value` is greater than the maximum value, set `value` to be the maximum value&period;

== Synopsis

Declared in `&lt;balm&lowbar;integercollector&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
update(int value);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
