Interface | Description |
---|---|
BackoffStrategy |
Super interface for
RetryPolicy that defines a strategy for backing off between retries. |
RetryCondition |
Super interface for
RetryPolicy used to define when a request should be retried. |
RetryPolicy |
Aggregate interface combining a
RetryCondition and BackoffStrategy into a single policy. |
Class | Description |
---|---|
AndRetryCondition |
Composite
RetryCondition that evaluates to true when all contained retry conditions evaluate to true. |
AndRetryConditionTest | |
FixedDelayBackoffStrategy |
Simple backoff strategy that always uses a fixed delay.
|
FixedDelayBackoffStrategyTest | |
MaxNumberOfRetriesCondition |
Simple retry condition that allows retries up to a certain max number of retries.
|
MaxNumberOfRetriesConditionTest | |
OrRetryCondition |
Composite retry condition that evaluates to true if any containing condition evaluates to true.
|
OrRetryConditionTest | |
RetryOnExceptionsCondition |
Retry condition implementation that retries if the exception or the cause of the exception matches the classes defined.
|
RetryOnExceptionsConditionTest | |
RetryOnStatusCodeCondition |
Retry condition implementation that retries if the HTTP status code matches one of the provided status codes.
|
RetryOnStatusCodeConditionTest | |
RetryPolicyContext |
Contains useful information about a failed request that can be used to make retry and backoff decisions.
|
RetryPolicyContext.Builder | |
RetryPolicyContexts |
Precanned instances of
RetryPolicyContext and factory methods for creating contexts. |
RetryPolicyContextTest | |
SimpleRetryPolicy | |
SimpleRetryPolicyTest |
Copyright © 2020. All rights reserved.