BloombergLP::balb::RateLimiter::wouldExceedBandwidth

Update the state of this rate limiter to the specified currentTime. Return true if submitting 1 unit at the currentTime would exceed the configured limits, and false otherwise.

Synopsis

Declared in <balb_ratelimiter.h>

bool
wouldExceedBandwidth(bsls::TimeInterval const& currentTime);