[#BloombergLP-balb-LeakyBucket-reset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/LeakyBucket.adoc[LeakyBucket]::reset :relfileprefix: ../../../ :mrdocs: Reset the counters and update times for this leaky bucket. == Synopsis Declared in `<balb_leakybucket.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reset(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& currentTime); ---- == Description Reset the following statistic counters for this leaky bucket to 0: `unitsInBucket`, `unitsReserved`, `submittedUnits`, and `unusedUnits`. Set the `lastUpdateTime` and the `statisticCollectionStartTime` to the specified `currentTime` of this leaky bucket. The behavior is undefined unless 'LLONG_MIN != currentTime.seconds()'. == Parameters [cols="1,4"] |=== | Name| Description | *currentTime* | new `lastUpdateTime` and statistics start time |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#