Implementations of this interface must be thread-safe. Access to shared data must be synchronized as methods of this interface may be executed from multiple threads.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the method should be retried, false
otherwisethe exception that occurred exception, int the number of times this method has been
unsuccessfully executed executionCount, HttpContext the context for the request execution context)Determines if a method should be retried after an IOException occurs during execution. |
| retryRequest | back to summary |
|---|---|
| public boolean retryRequest(IOException exception, int executionCount, HttpContext context) Determines if a method should be retried after an IOException occurs during execution.
| |