public class RetryConfig extends Object
| Constructor and Description |
|---|
RetryConfig(boolean enabled,
int maxRetries,
int baseDelayMs,
Set<Integer> retryOnStatus) |
| Modifier and Type | Method and Description |
|---|---|
static RetryConfig |
defaultConfig() |
int |
getBaseDelayMs() |
int |
getMaxRetries() |
Set<Integer> |
getRetryOnStatus() |
boolean |
isEnabled() |
boolean |
shouldRetry(int statusCode,
int retryCount) |
public boolean isEnabled()
public int getMaxRetries()
public int getBaseDelayMs()
public boolean shouldRetry(int statusCode,
int retryCount)
public static RetryConfig defaultConfig()
Copyright © 2025 ChargeBee. All rights reserved.