| Modifier and Type | Class and Description |
|---|---|
class |
FixedIntervalRefillStrategy
A token bucket refill strategy that will provide N tokens for a token bucket to consume every T units of time.
|
| Modifier and Type | Method and Description |
|---|---|
TokenBuckets.Builder |
TokenBuckets.Builder.withRefillStrategy(TokenBucket.RefillStrategy refillStrategy)
Use a user defined refill strategy.
|
Copyright © 2015. All Rights Reserved.