Package com.github.cowwoc.tokenbucket
package com.github.cowwoc.tokenbucket
An implementation of the Token bucket algorithm.
Thread safety: Classes are not thread-safe unless indicated otherwise (e.g.
Bucket
).
-
ClassDescriptionA container with Limits.Builds a bucket.Indicates how to consume tokens from children containers.The result of an attempt to consume tokens.A container of tokens.A container of one or more children containers.Builds a ContainerList.Listens for container events.A rate limit.Builds a Limit.Selects a bucket from a list.