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

Submit the specified `numUnits` to this leaky bucket&period; The behavior is undefined unless `unitsReserved() &plus; unitsInBucket() &plus; numUnits` can be represented by a 64&hyphen;bit unsigned integral type&period; Note that after this operation, this leaky bucket may overflow&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
submit(xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] numUnits);
----


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