public abstract class RetryCondition extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
retryErrorCodes |
| Constructor and Description |
|---|
RetryCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRetryErrorCode(String retryErrorCode) |
void |
addRetryErrorCodes(Set<String> retryErrorCodes) |
Set<String> |
getRetryErrorCodes() |
abstract boolean |
shouldRetry(ApiResponse response,
ApiException apiException) |
public abstract boolean shouldRetry(ApiResponse response, ApiException apiException)
public void addRetryErrorCode(String retryErrorCode)
Copyright © 2025. All rights reserved.