token_bucket_algorithm library

Classes

AsyncTokenBucket
An async token bucket which can have an async storage.
AsyncTokenBucketStorage
The base class for storing a TokenBucketState.
MemoryTokenBucketStorage
This TokenBucketStorage stores a TokenBucketState as local variable in memory.
StaticMemoryTokenBucketStorage
This TokenBucketStorage stores a TokenBucketState as static variable in memory.
TokenBucket
A standard token bucket.
TokenBucketState
TokenBucketStorage
The base class for storing a TokenBucketState synchronously.