Default policy for the token bucket templates, selecting the alignment, atomic type, clock, and concurrency behavior.
Declared in <folly/TokenBucket.h>
struct TokenBucketPolicyDefault;
| Name | Description |
|---|---|
align | Alignment used for the atomic state, sized to avoid false sharing. |
atom | Atomic wrapper used to store the token bucket state. |
clock | Steady clock used as the default time source. |
concurrent | Whether the bucket must be safe for concurrent access. |