public class AWSServerErrorRetryHandler
extends org.jclouds.http.handlers.BackoffLimitedRetryHandler
| Constructor and Description |
|---|
AWSServerErrorRetryHandler(AWSUtils utils,
Set<String> retryableServerCodes) |
| Modifier and Type | Method and Description |
|---|---|
void |
imposeBackoffExponentialDelay(long period,
int pow,
int failureCount,
int max,
String commandDescription) |
boolean |
shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response) |
protected boolean |
shouldRetryRequestOnError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
AWSError error) |
public boolean shouldRetryRequest(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response)
shouldRetryRequest in interface org.jclouds.http.HttpRetryHandlershouldRetryRequest in class org.jclouds.http.handlers.BackoffLimitedRetryHandlerprotected boolean shouldRetryRequestOnError(org.jclouds.http.HttpCommand command,
org.jclouds.http.HttpResponse response,
AWSError error)
public void imposeBackoffExponentialDelay(long period,
int pow,
int failureCount,
int max,
String commandDescription)
imposeBackoffExponentialDelay in class org.jclouds.http.handlers.BackoffLimitedRetryHandlerCopyright © 2009-2019 The Apache Software Foundation. All Rights Reserved.