Package org.jclouds.sqs.handlers
Class SQSErrorRetryHandler
java.lang.Object
org.jclouds.aws.handlers.AWSClientErrorRetryHandler
org.jclouds.sqs.handlers.SQSErrorRetryHandler
- All Implemented Interfaces:
HttpRetryHandler
-
Field Summary
Fields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY
-
Constructor Summary
ConstructorsConstructorDescriptionSQSErrorRetryHandler
(AWSUtils utils, BackoffLimitedRetryHandler backoffLimitedRetryHandler, Set<String> retryableCodes, int maxTries, long retryInterval) -
Method Summary
Modifier and TypeMethodDescriptionboolean
shouldRetryRequestOnError
(HttpCommand command, HttpResponse response, AWSError error) Methods inherited from class org.jclouds.aws.handlers.AWSClientErrorRetryHandler
shouldRetryRequest
-
Constructor Details
-
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 Details
-
shouldRetryRequestOnError
public boolean shouldRetryRequestOnError(HttpCommand command, HttpResponse response, AWSError error) - Overrides:
shouldRetryRequestOnError
in classAWSClientErrorRetryHandler
-