Interface | Description |
---|---|
RateLimiter<T> |
Class | Description |
---|---|
BucketRateLimiter<T> |
A light-weight token bucket implementation for RateLimiter.
|
DefaultControllerRateLimiter<T> |
DefaultControllerRateLimiter is a default rate limiter for workqueue.
|
ItemExponentialFailureRateLimiter<T> |
ItemExponentialFailureRateLimiter does a simple baseDelay*10num-failures limit dealing
with max failures and expiration are up to the caller
|
ItemFastSlowRateLimiter<T> |
ItemFastSlowRateLimiter does a quick retry for a certain number of attempts, then a slow retry
after that
|
MaxOfRateLimiter<T> |
MaxOfRateLimiter calls every RateLimiter and returns the worst case response When used with a
token bucket limiter, the burst could be apparently exceeded in cases where particular items were
separately delayed a longer time.
|
Copyright © 2021. All rights reserved.