public class RetryConfiguration extends WaiterConfiguration
Configuration used for retrying.
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 |
---|---|
static class |
RetryConfiguration.Builder
Builder class for retry configuration.
|
WaiterConfiguration.WaitContext
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_RETRY_ATTEMPTS |
static long |
DEFAULT_MAX_WAIT_TIME |
static RetryConfiguration |
NO_RETRY_CONFIGURATION |
static String |
OCI_JAVASDK_DEFAULT_RETRY_ON_OPEN_CIRCUIT_BREAKER_SYSTEM_PROPERTY_NAME |
static RetryConfiguration |
SDK_DEFAULT_RETRY_CONFIGURATION |
static RetryConfiguration |
SDK_FAIL_FAST_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION |
static RetryConfiguration |
SDK_RETRY_ON_OPEN_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION |
Modifier and Type | Method and Description |
---|---|
static RetryConfiguration.Builder |
builder()
Create a builder for retry configuration
|
RetryCondition |
getRetryCondition() |
RetryOptions |
getRetryOptions() |
String |
toString() |
getDelayStrategy, getTerminationStrategy
public static final RetryConfiguration NO_RETRY_CONFIGURATION
public static final int DEFAULT_MAX_RETRY_ATTEMPTS
public static final long DEFAULT_MAX_WAIT_TIME
public static final RetryConfiguration SDK_FAIL_FAST_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION
public static final RetryConfiguration SDK_RETRY_ON_OPEN_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION
public static final String OCI_JAVASDK_DEFAULT_RETRY_ON_OPEN_CIRCUIT_BREAKER_SYSTEM_PROPERTY_NAME
public static final RetryConfiguration SDK_DEFAULT_RETRY_CONFIGURATION
public static RetryConfiguration.Builder builder()
Create a builder for retry configuration
public String toString()
toString
in class WaiterConfiguration
public RetryCondition getRetryCondition()
public RetryOptions getRetryOptions()
Copyright © 2016–2024. All rights reserved.