| Interface | Description |
|---|---|
| TokenBucket |
A token bucket is used for rate limiting access to a portion of code.
|
| TokenBucket.RefillStrategy |
Encapsulation of a refilling strategy for a token bucket.
|
| TokenBucket.SleepStrategy |
Encapsulation of a strategy for relinquishing control of the CPU.
|
| Class | Description |
|---|---|
| FixedIntervalRefillStrategy |
A token bucket refill strategy that will provide N tokens for a token bucket to consume every T units of time.
|
| TokenBuckets |
Static utility methods pertaining to creating
TokenBucketImpl instances. |
| TokenBuckets.Builder |
Copyright © 2015. All Rights Reserved.