| Package | Description | 
|---|---|
| org.apache.hadoop.io.retry | 
 A mechanism for selectively retrying methods that throw exceptions under
 certain circumstances. 
 | 
| Modifier and Type | Field and 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 and Description | 
|---|---|
RetryPolicy.RetryAction | 
RetryPolicy.shouldRetry(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. 
 | 
RetryPolicy.RetryAction | 
RetryPolicies.MultipleLinearRandomRetry.shouldRetry(Exception e,
           int curRetry,
           int failovers,
           boolean isIdempotentOrAtMostOnce)  | 
Copyright © 2017 Apache Software Foundation. All Rights Reserved.