public class IntuitRetryPolicyHandler extends Object implements org.apache.http.client.HttpRequestRetryHandler
| Constructor and Description |
|---|
IntuitRetryPolicyHandler(int retryCount,
int retryInterval)
Initialize a new instance of the RetryPolicyHandler class
|
IntuitRetryPolicyHandler(int retryCount,
int initialInterval,
int increment)
Initialize a new instance of the RetryPolicyHandler class
|
IntuitRetryPolicyHandler(int retryCount,
int minBackoff,
int maxBackoff,
int deltaBackoff)
Initialize a new instance of the RetryPolicyHandler class
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
retryRequest(IOException exception,
int executionCount,
org.apache.http.protocol.HttpContext context)
method to validate the retry policies
|
public IntuitRetryPolicyHandler(int retryCount,
int retryInterval)
throws ConfigurationException
retryCount - the retry countretryInterval - the retry intervalConfigurationException - the configuration exceptionpublic IntuitRetryPolicyHandler(int retryCount,
int initialInterval,
int increment)
throws ConfigurationException
retryCount - the retry countinitialInterval - the initial intervalincrement - the incrementConfigurationException - the configuration exceptionpublic IntuitRetryPolicyHandler(int retryCount,
int minBackoff,
int maxBackoff,
int deltaBackoff)
throws ConfigurationException
retryCount - the retry contminBackoff - the min backoffmaxBackoff - the max backoffdeltaBackoff - the delta backoffConfigurationException - the configuration exceptionpublic boolean retryRequest(IOException exception, int executionCount, org.apache.http.protocol.HttpContext context)
retryRequest in interface org.apache.http.client.HttpRequestRetryHandlerCopyright © 2017. All rights reserved.