Options
All
  • Public
  • Public/Protected
  • All
Menu

Module common/lib/retrier

Type aliases

RetryConfiguration

RetryConfiguration: Partial<RetryConfigurationDetails>

This class implements the retrier NOTE : Retries are not supported for requests that have binary or stream bodies this also affects UploadManager operations For all requests with binary/stream bodies, retry attempts will be made if RetryConfigurationDetails.backupBinaryBody is set to true, or if the original stream body is able to be retried

Variables

Const CONTENT_TYPE_HEADER

CONTENT_TYPE_HEADER: "content-type" = "content-type"

Const NO_RETRY_MAXIMUM_DELAY_IN_SECONDS

NO_RETRY_MAXIMUM_DELAY_IN_SECONDS: 30 = 30

Const NO_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS

NO_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS: 1 = 1

Const OCI_SDK_DEFAULT_RETRY_MAXIMUM_DELAY_IN_SECONDS

OCI_SDK_DEFAULT_RETRY_MAXIMUM_DELAY_IN_SECONDS: 30 = 30

Const OCI_SDK_DEFAULT_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS

OCI_SDK_DEFAULT_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS: 8 = 8

Const SERVER_SIDE_EVENT_TEXT_STREAM

SERVER_SIDE_EVENT_TEXT_STREAM: "text/event-stream" = "text/event-stream"

Const TROUBLESHOOT_URL

TROUBLESHOOT_URL: "https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_troubleshooting.htm" = "https://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_troubleshooting.htm"

Object literals

Const NoRetryConfigurationDetails

NoRetryConfigurationDetails: object

backupBinaryBody

backupBinaryBody: false = false

delayStrategy

delayStrategy: ExponentialBackoffDelayStrategyWithJitter = new ExponentialBackoffDelayStrategyWithJitter(NO_RETRY_MAXIMUM_DELAY_IN_SECONDS)

retryCondition

retryCondition: shouldBeRetried = DefaultRetryCondition.shouldBeRetried

terminationStrategy

terminationStrategy: MaxAttemptsTerminationStrategy = new MaxAttemptsTerminationStrategy(NO_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS)

Const OciSdkDefaultRetryConfiguration

OciSdkDefaultRetryConfiguration: object

backupBinaryBody

backupBinaryBody: false = false

delayStrategy

delayStrategy: ExponentialBackoffDelayStrategyWithJitter = new ExponentialBackoffDelayStrategyWithJitter(OCI_SDK_DEFAULT_RETRY_MAXIMUM_DELAY_IN_SECONDS)

retryCondition

retryCondition: shouldBeRetried = DefaultRetryCondition.shouldBeRetried

terminationStrategy

terminationStrategy: MaxAttemptsTerminationStrategy = new MaxAttemptsTerminationStrategy(OCI_SDK_DEFAULT_RETRY_MAXIMUM_NUMBER_OF_ATTEMPTS)