Reserve the specified numUnits for future use by this rate limiter.

Synopsis

Declared in <balb_ratelimiter.h>

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

Description

The behavior is undefined unless the sum of numUnits, unused units previously submitted to this rate limiter, and unitsReserved can be represented by a 64‐bit unsigned integral type.

Parameters

Name

Description

numUnits

number of units to reserve

Created with MrDocs