| Package | Description |
|---|---|
| org.apache.hadoop.io.retry |
A mechanism for selectively retrying methods that throw exceptions under
certain circumstances.
|
| Modifier and Type | Field | Description |
|---|---|---|
static RetryPolicy.RetryAction |
RetryPolicy.RetryAction.FAIL |
|
static RetryPolicy.RetryAction |
RetryPolicy.RetryAction.FAILOVER_AND_RETRY |
|
static RetryPolicy.RetryAction |
RetryPolicy.RetryAction.RETRY |
| Modifier and Type | Method | Description |
|---|---|---|
RetryPolicy.RetryAction |
RetryPolicies.MultipleLinearRandomRetry.shouldRetry(java.lang.Exception e,
int curRetry,
int failovers,
boolean isIdempotentOrAtMostOnce) |
|
RetryPolicy.RetryAction |
RetryPolicy.shouldRetry(java.lang.Exception e,
int retries,
int failovers,
boolean isIdempotentOrAtMostOnce) |
Determines whether the framework should retry a method for the given
exception, and the number of retries that have been made for that operation
so far.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.