The default termination strategy is a single attempt (i.e. no retry). The default delay
strategy is an exponential backoff strategy to a max wait of 30 seconds. The default retry
condition is DefaultRetryCondition.
| Modifier and Type | Class and Description |
|---|---|
| public static class | RetryConfiguration.
Builder class for retry configuration. |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final long | |
| public static final RetryConfiguration | |
| public static final String | |
| private final RetryCondition | |
| private final RetryOptions | |
| public static final RetryConfiguration | |
| public static final RetryConfiguration | |
| public static final RetryConfiguration |
| Access | Constructor and Description |
|---|---|
| private | RetryConfiguration(final TerminationStrategy terminationStrategy, final DelayStrategy delayStrategy, final RetryCondition retryCondition, final RetryOptions retryOptions)
|
| Modifier and Type | Method and Description |
|---|---|
| public static RetryConfiguration. | |
| public RetryCondition | |
| public RetryOptions | |
| public String | toString()
Overrides com. Returns a string representation of the object. |
| DEFAULT_MAX_RETRY_ATTEMPTS | back to summary |
|---|---|
| public static final int DEFAULT_MAX_RETRY_ATTEMPTS | |
| DEFAULT_MAX_WAIT_TIME | back to summary |
|---|---|
| public static final long DEFAULT_MAX_WAIT_TIME | |
| NO_RETRY_CONFIGURATION | back to summary |
|---|---|
| public static final RetryConfiguration NO_RETRY_CONFIGURATION | |
| OCI_JAVASDK_DEFAULT_RETRY_ON_OPEN_CIRCUIT_BREAKER_SYSTEM_PROPERTY_NAME | back to summary |
|---|---|
| public static final String OCI_JAVASDK_DEFAULT_RETRY_ON_OPEN_CIRCUIT_BREAKER_SYSTEM_PROPERTY_NAME | |
| retryCondition | back to summary |
|---|---|
| private final RetryCondition retryCondition | |
| retryOptions | back to summary |
|---|---|
| private final RetryOptions retryOptions | |
| SDK_DEFAULT_RETRY_CONFIGURATION | back to summary |
|---|---|
| public static final RetryConfiguration SDK_DEFAULT_RETRY_CONFIGURATION | |
| SDK_FAIL_FAST_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION | back to summary |
|---|---|
| public static final RetryConfiguration SDK_FAIL_FAST_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION | |
| SDK_RETRY_ON_OPEN_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION | back to summary |
|---|---|
| public static final RetryConfiguration SDK_RETRY_ON_OPEN_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION | |
| RetryConfiguration | back to summary |
|---|---|
| private RetryConfiguration(final TerminationStrategy terminationStrategy, final DelayStrategy delayStrategy, final RetryCondition retryCondition, final RetryOptions retryOptions) | |
| builder | back to summary |
|---|---|
| public static RetryConfiguration. Create a builder for retry configuration
| |
| getRetryCondition | back to summary |
|---|---|
| public RetryCondition getRetryCondition() | |
| getRetryOptions | back to summary |
|---|---|
| public RetryOptions getRetryOptions() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| private static final RetryOptions | |
| private DelayStrategy | |
| private static final DelayStrategy | |
| private static final TerminationStrategy | |
| private RetryCondition | |
| private RetryOptions | |
| private TerminationStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RetryConfiguration | |
| public RetryConfiguration. | |
| public RetryConfiguration. | |
| public RetryConfiguration. | |
| public RetryConfiguration. |
| DEFAULT_RETRY_OPTIONS | back to summary |
|---|---|
| private static final RetryOptions DEFAULT_RETRY_OPTIONS | |
| delayStrategy | back to summary |
|---|---|
| private DelayStrategy delayStrategy | |
| EXPONENTIAL_BACKOFF_DELAY_STRATEGY | back to summary |
|---|---|
| private static final DelayStrategy EXPONENTIAL_BACKOFF_DELAY_STRATEGY | |
| NO_RETRY_TERMINATION_STRATEGY | back to summary |
|---|---|
| private static final TerminationStrategy NO_RETRY_TERMINATION_STRATEGY | |
| retryCondition | back to summary |
|---|---|
| private RetryCondition retryCondition | |
| retryOptions | back to summary |
|---|---|
| private RetryOptions retryOptions | |
| terminationStrategy | back to summary |
|---|---|
| private TerminationStrategy terminationStrategy | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| build | back to summary |
|---|---|
| public RetryConfiguration build() Build the retry configuration
| |
| delayStrategy | back to summary |
|---|---|
| public RetryConfiguration. | |
| retryCondition | back to summary |
|---|---|
| public RetryConfiguration. | |
| retryOptions | back to summary |
|---|---|
| public RetryConfiguration. | |
| terminationStrategy | back to summary |
|---|---|
| public RetryConfiguration. | |