| Package | Description |
|---|---|
| org.apache.ratis.protocol.exceptions | |
| org.apache.ratis.retry |
| Class and Description |
|---|
| RetryPolicy
Policy abstract for retrying.
|
| Class and Description |
|---|
| ExceptionDependentRetry
Exception dependent retry policy.
|
| ExceptionDependentRetry.Builder |
| ExponentialBackoffRetry
Retry Policy exponentially increases sleep time with randomness on successive
retries.
|
| ExponentialBackoffRetry.Builder |
| MultipleLinearRandomRetry
Given pairs of number of retries and sleep time (n0, t0), (n1, t1), ...,
the first n0 retries sleep t0 milliseconds on average,
the following n1 retries sleep t1 milliseconds on average, and so on.
|
| RetryPolicies.RetryForeverWithSleep
For any requests, keep retrying forever with a fixed sleep time between attempts.
|
| RetryPolicies.RetryLimited
For any requests, keep retrying a limited number of attempts with a fixed sleep time between attempts.
|
| RetryPolicy
Policy abstract for retrying.
|
| RetryPolicy.Action
The action it should take.
|
| RetryPolicy.Event
The event triggered the failure.
|
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.