Class AWSEC2IOExceptionRetryHandler
- java.lang.Object
-
- org.jclouds.http.handlers.BackoffLimitedRetryHandler
-
- org.jclouds.aws.ec2.compute.strategy.AWSEC2IOExceptionRetryHandler
-
- All Implemented Interfaces:
HttpRetryHandler,IOExceptionRetryHandler
public class AWSEC2IOExceptionRetryHandler extends BackoffLimitedRetryHandler
-
-
Field Summary
-
Fields inherited from class org.jclouds.http.handlers.BackoffLimitedRetryHandler
INSTANCE, logger
-
Fields inherited from interface org.jclouds.http.HttpRetryHandler
ALWAYS_RETRY, NEVER_RETRY
-
Fields inherited from interface org.jclouds.http.IOExceptionRetryHandler
ALWAYS_RETRY, NEVER_RETRY
-
-
Constructor Summary
Constructors Constructor Description AWSEC2IOExceptionRetryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldRetryRequest(HttpCommand command, IOException error)-
Methods inherited from class org.jclouds.http.handlers.BackoffLimitedRetryHandler
imposeBackoffExponentialDelay, imposeBackoffExponentialDelay, imposeBackoffExponentialDelay, shouldRetryRequest
-
-
-
-
Method Detail
-
shouldRetryRequest
public boolean shouldRetryRequest(HttpCommand command, IOException error)
- Specified by:
shouldRetryRequestin interfaceIOExceptionRetryHandler- Overrides:
shouldRetryRequestin classBackoffLimitedRetryHandler
-
-