public class AWSClientErrorRetryHandler extends Object implements HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY| Constructor and Description | 
|---|
AWSClientErrorRetryHandler(AWSUtils utils,
                          BackoffLimitedRetryHandler backoffLimitedRetryHandler,
                          Set<String> retryableCodes)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
shouldRetryRequest(HttpCommand command,
                  HttpResponse response)
Return true if the command should be retried. 
 | 
protected boolean | 
shouldRetryRequestOnError(HttpCommand command,
                         HttpResponse response,
                         AWSError error)  | 
@Inject public AWSClientErrorRetryHandler(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler, Set<String> retryableCodes)
public boolean shouldRetryRequest(HttpCommand command, HttpResponse response)
HttpRetryHandlershouldRetryRequest in interface HttpRetryHandlerprotected boolean shouldRetryRequestOnError(HttpCommand command, HttpResponse response, AWSError error)
Copyright © 2009-2013 jclouds. All Rights Reserved.