Package org.jclouds.sqs.handlers
Class SQSErrorRetryHandler
- java.lang.Object
-
- org.jclouds.aws.handlers.AWSClientErrorRetryHandler
-
- org.jclouds.sqs.handlers.SQSErrorRetryHandler
-
- All Implemented Interfaces:
HttpRetryHandler
public class SQSErrorRetryHandler extends AWSClientErrorRetryHandler
-
-
Field Summary
-
Fields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY
-
-
Constructor Summary
Constructors Constructor Description SQSErrorRetryHandler(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler, Set<String> retryableCodes, int maxTries, long retryInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldRetryRequestOnError(HttpCommand command, HttpResponse response, AWSError error)
-
Methods inherited from class org.jclouds.aws.handlers.AWSClientErrorRetryHandler
shouldRetryRequest
-
-
-
-
Constructor Detail
-
SQSErrorRetryHandler
@Inject public SQSErrorRetryHandler(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler, Set<String> retryableCodes, @Named("jclouds.sqs.create-queue.max-retries") int maxTries, @Named("jclouds.sqs.create-queue.retry-interval") long retryInterval)
-
-
Method Detail
-
shouldRetryRequestOnError
public boolean shouldRetryRequestOnError(HttpCommand command, HttpResponse response, AWSError error)
- Overrides:
shouldRetryRequestOnError
in classAWSClientErrorRetryHandler
-
-