[#BloombergLP-balb-LeakyBucket-reset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/LeakyBucket.adoc[LeakyBucket]::reset
:relfileprefix: ../../../
:mrdocs:

Reset the following statistic counters for this leaky bucket to 0&colon; `unitsInBucket`, `unitsReserved`, `submittedUnits`, and `unusedUnits`&period; Set the `lastUpdateTime` and the `statisticCollectionStartTime` to the specified `currentTime` of this leaky bucket&period; The behavior is undefined unless &apos;LLONG&lowbar;MIN !&equals; currentTime&period;seconds()&apos;&period;

== Synopsis

Declared in `&lt;balb&lowbar;leakybucket&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& currentTime);
----


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