Submit the specified numUnits to this leaky bucket.

Synopsis

Declared in <balb_leakybucket.h>

void
submit(bsls::Types::Uint64 numUnits);

Description

The behavior is undefined unless unitsReserved() + unitsInBucket() + numUnits can be represented by a 64‐bit unsigned integral type. Note that after this operation, this leaky bucket may overflow.

Parameters

Name

Description

numUnits

number of units to submit

Created with MrDocs