Return whether submitting 1 unit at currentTime would exceed limits.
Declared in <balb_ratelimiter.h>
bool
wouldExceedBandwidth(bsls::TimeInterval const& currentTime);
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.
true if submitting 1 unit would exceed limits, else false
| Name | Description |
|---|---|
| currentTime | time used to update this limiter before checking |