public class RetryUtils extends Object
Constructor and Description |
---|
RetryUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isClockSkewError(AmazonServiceException exception)
Returns true if the specified exception is definitely a clock skew error.
|
static boolean |
isClockSkewError(SdkBaseException exception)
Returns true if the specified exception is definitely a clock skew error.
|
static boolean |
isRequestEntityTooLargeException(AmazonServiceException exception)
Returns true if the specified exception is a request entity too large error.
|
static boolean |
isRequestEntityTooLargeException(SdkBaseException exception)
Returns true if the specified exception is a request entity too large error.
|
static boolean |
isRetryableServiceException(AmazonServiceException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableServiceException(SdkBaseException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isThrottlingException(AmazonServiceException exception)
Returns true if the specified exception is a throttling error.
|
static boolean |
isThrottlingException(SdkBaseException exception)
Returns true if the specified exception is a throttling error.
|
public static boolean isRetryableServiceException(SdkBaseException exception)
exception
- The exception to test.public static boolean isRetryableServiceException(AmazonServiceException exception)
exception
- The exception to test.public static boolean isThrottlingException(SdkBaseException exception)
exception
- The exception to test.public static boolean isThrottlingException(AmazonServiceException exception)
exception
- The exception to test.public static boolean isRequestEntityTooLargeException(SdkBaseException exception)
exception
- The exception to test.public static boolean isRequestEntityTooLargeException(AmazonServiceException exception)
exception
- The exception to test.public static boolean isClockSkewError(SdkBaseException exception)
exception
- The exception to test.ClockSkewAdjuster
public static boolean isClockSkewError(AmazonServiceException exception)
exception
- The exception to test.ClockSkewAdjuster
Copyright © 2021. All rights reserved.