| Package | Description |
|---|---|
| com.oracle.bmc | |
| com.oracle.bmc.http.internal | |
| com.oracle.bmc.requests | |
| com.oracle.bmc.retrier |
| Modifier and Type | Method and Description |
|---|---|
RetryConfiguration |
ClientConfiguration.getRetryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ClientConfiguration.ClientConfigurationBuilder |
ClientConfiguration.ClientConfigurationBuilder.retryConfiguration(RetryConfiguration retryConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
ClientCall<REQ,RESP,RESP_BUILDER> |
ClientCall.retryConfiguration(RetryConfiguration retryConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
RetryConfiguration |
BmcRequest.getRetryConfiguration()
Optional
RetryConfiguration to use for this request. |
| Modifier and Type | Method and Description |
|---|---|
void |
BmcRequest.setRetryConfiguration(RetryConfiguration retryConfiguration)
Optional
RetryConfiguration to use for this request. |
| Modifier and Type | Field and Description |
|---|---|
static RetryConfiguration |
RetryConfiguration.NO_RETRY_CONFIGURATION |
static RetryConfiguration |
RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION |
static RetryConfiguration |
RetryConfiguration.SDK_FAIL_FAST_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION |
static RetryConfiguration |
RetryConfiguration.SDK_RETRY_ON_OPEN_CIRCUIT_BREAKER_DEFAULT_RETRY_CONFIGURATION |
| Modifier and Type | Method and Description |
|---|---|
RetryConfiguration |
RetryConfiguration.Builder.build()
Build the retry configuration
|
static RetryConfiguration |
Retriers.getDefaultRetryConfiguration()
Getter for the default retry configuration.
|
static RetryConfiguration |
Retriers.getPreferredRetryConfiguration(RetryConfiguration requestRetryConfiguration,
RetryConfiguration clientRetryConfiguration,
boolean specBasedDefaultRetryEnabled)
Choose the desired retry configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static BmcGenericRetrier |
Retriers.createPreferredRetrier(RetryConfiguration requestRetryConfiguration,
RetryConfiguration clientRetryConfiguration)
Choose the desired retry configuration and use it to create the retrier.
|
static BmcGenericRetrier |
Retriers.createPreferredRetrier(RetryConfiguration requestRetryConfiguration,
RetryConfiguration clientRetryConfiguration,
boolean specBasedDefaultRetryEnabled)
Choose the desired retry configuration and use it to create the retrier.
|
static RetryConfiguration |
Retriers.getPreferredRetryConfiguration(RetryConfiguration requestRetryConfiguration,
RetryConfiguration clientRetryConfiguration,
boolean specBasedDefaultRetryEnabled)
Choose the desired retry configuration.
|
static void |
Retriers.setDefaultRetryConfiguration(RetryConfiguration retryConfiguration)
Setter for the default retry configuration used in the SDK.
|
static boolean |
Retriers.shouldPrepareForRetryBecauseOfRetryConfiguration(RetryConfiguration rc)
Returns true if the retry configuration indicates that we should prepare for retries.
|
static <T extends BmcRequest<InputStream>> |
Retriers.wrapBodyInputStreamIfNecessary(T request,
BmcRequest.Builder<T,InputStream> builder,
RetryConfiguration retryConfiguration)
Wrap the input stream in the request so retries can work.
|
| Constructor and Description |
|---|
BmcGenericRetrier(RetryConfiguration retryConfiguration)
Creates a new retrier with the given configuration.
|
Copyright © 2016–2024. All rights reserved.