Re‐initialize token bucket.
Synopsis
Declared in <folly/TokenBucket.h>
void
reset(double zeroTime = 0) noexcept;
Description
Thread‐safe.
Parameters
Name |
Description |
zeroTime |
Initial time at which to consider the token bucket starting to fill. Defaults to 0, so by default token bucket is reset to "empty". |
Created with MrDocs