public class SQSErrorRetryHandler extends AWSClientErrorRetryHandler
ALWAYS_RETRY, NEVER_RETRY
Constructor and Description |
---|
SQSErrorRetryHandler(AWSUtils utils,
BackoffLimitedRetryHandler backoffLimitedRetryHandler,
Set<String> retryableCodes,
int maxTries,
long retryInterval) |
Modifier and Type | Method and Description |
---|---|
boolean |
shouldRetryRequestOnError(HttpCommand command,
HttpResponse response,
AWSError error) |
shouldRetryRequest
@Inject public SQSErrorRetryHandler(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler, Set<String> retryableCodes, @Named(value="jclouds.sqs.create-queue.max-retries") int maxTries, @Named(value="jclouds.sqs.create-queue.retry-interval") long retryInterval)
public boolean shouldRetryRequestOnError(HttpCommand command, HttpResponse response, AWSError error)
shouldRetryRequestOnError
in class AWSClientErrorRetryHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.