Package-level declarations
Types
Implements a retry strategy with exponential backoff, a token bucket for limiting retries, and a client-side rate limiter for achieving the ideal request rate. Note that the backoff delayer, token bucket, and rate limiter all work independently of each other. Any of the three may delay retries (and the rate limiter may delay the initial try as well).
Indicates some failure happened while retrying.
Indicates the retrying has failed because of a non-retryable condition.
A strategy for trying a block of code one or more times.
Implements a retry strategy utilizing backoff delayer and a token bucket for rate limiting and circuit breaking. Note that the backoff delayer and token bucket work independently of each other. Either can delay retries (and the token bucket can delay the initial try). The delayer is called first so that the token bucket can refill as appropriate.
Indicates that retrying has failed because too much time has elapsed.
Indicates that retrying has failed because too many attempts have completed unsuccessfully.