public class RetryUtils extends Object
| 构造器和说明 |
|---|
RetryUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
isRetryableClientException(CosClientException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableClientException(Exception exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableServiceException(CosServiceException exception)
Returns true if the specified exception is a retryable service side exception.
|
static boolean |
isRetryableServiceException(Exception exception)
Returns true if the specified exception is a retryable service side exception.
|
public static boolean isRetryableServiceException(Exception exception)
exception - The exception to test.public static boolean isRetryableServiceException(CosServiceException exception)
exception - The exception to test.public static boolean isRetryableClientException(Exception exception)
exception - The exception to test.public static boolean isRetryableClientException(CosClientException exception)
exception - The exception to test.Copyright © 2020. All rights reserved.