BloombergLP::balb::RateLimiter::resetStatistics

Reset the statistics collected for this rate limiter.

Synopsis

Declared in <balb_ratelimiter.h>

void
resetStatistics();

Description

Reset the statics collected for this rate limiter by setting the number of units used and the number of units submitted to 0, and set the statisticsCollectionStartTime to the lastUpdateTime of this leaky bucket.