Search
Preparing search index...
The search index is not available
Oracle Cloud Infrastructure SDK for TypeScript and JavaScript API Reference - 2.93.0
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
common/lib/retrier
GenericRetrier
Globals
common/lib/retrier
Class GenericRetrier
Hierarchy
GenericRetrier
Constructors
constructor
Properties
_logger
_retry
Configuration
Default
Retry
Configuration
OCI_
SDK_
DEFAULT_
RETRY_
ENABLED
OPC_
CLIENT_
RETRIES_
HEADER
Accessors
back
UpBinary
Body
logger
retry
Configuration
default
Retry
Configuration
env
Variable
Check
For
Default
Retry
Methods
add
Opc
Client
Retry
Header
make
Service
Call
create
Preferred
Retrier
is
Request
Retryable
is
Retryable
Stream
refresh
Request
Constructors
constructor
new
Generic
Retrier
(
retryConfiguration
:
RetryConfiguration
)
:
GenericRetrier
Parameters
retryConfiguration:
RetryConfiguration
Returns
GenericRetrier
Properties
Private
_logger
_logger
:
Logger
= (undefined as unknown) as Logger
Private
_retry
Configuration
_retry
Configuration
:
RetryConfigurationDetails
Static
Private
Default
Retry
Configuration
Default
Retry
Configuration
:
RetryConfiguration
|
null
= GenericRetrier.envVariableCheckForDefaultRetry
Static
Private
OCI_
SDK_
DEFAULT_
RETRY_
ENABLED
OCI_
SDK_
DEFAULT_
RETRY_
ENABLED
:
string
= "OCI_SDK_DEFAULT_RETRY_ENABLED"
Static
Private
OPC_
CLIENT_
RETRIES_
HEADER
OPC_
CLIENT_
RETRIES_
HEADER
:
string
= "opc-client-retries"
Accessors
back
UpBinary
Body
get
backUpBinaryBody
(
)
:
boolean
Returns
boolean
logger
get
logger
(
)
:
Logger
set
logger
(
logger
:
Logger
)
:
void
Returns
Logger
Parameters
logger:
Logger
Returns
void
retry
Configuration
get
retryConfiguration
(
)
:
RetryConfigurationDetails
Returns
RetryConfigurationDetails
Static
default
Retry
Configuration
get
defaultRetryConfiguration
(
)
:
RetryConfiguration
|
null
set
defaultRetryConfiguration
(
retryConfig
:
RetryConfiguration
|
null
)
:
void
Returns
RetryConfiguration
|
null
Parameters
retryConfig:
RetryConfiguration
|
null
Returns
void
Static
env
Variable
Check
For
Default
Retry
get
envVariableCheckForDefaultRetry
(
)
:
RetryConfiguration
|
null
Returns
RetryConfiguration
|
null
Methods
Private
add
Opc
Client
Retry
Header
add
Opc
Client
Retry
Header
(
request
:
HttpRequest
)
:
void
Parameters
request:
HttpRequest
Returns
void
make
Service
Call
make
Service
Call
(
httpClient
:
HttpClient
, request
:
HttpRequest
, targetService
:
string
, operationName
:
string
, apiReferenceLink
:
string
, excludeBody
?:
undefined
|
false
|
true
)
:
Promise
<
Response
>
Parameters
httpClient:
HttpClient
request:
HttpRequest
targetService:
string
operationName:
string
apiReferenceLink:
string
Optional
excludeBody:
undefined
|
false
|
true
Returns
Promise
<
Response
>
Static
create
Preferred
Retrier
create
Preferred
Retrier
(
clientRetryConfiguration
?:
RetryConfiguration
, requestRetryConfiguration
?:
RetryConfiguration
, specRetryConfiguration
?:
RetryConfiguration
)
:
GenericRetrier
Parameters
Optional
clientRetryConfiguration:
RetryConfiguration
Optional
requestRetryConfiguration:
RetryConfiguration
Optional
specRetryConfiguration:
RetryConfiguration
Returns
GenericRetrier
Static
Private
is
Request
Retryable
is
Request
Retryable
(
request
:
HttpRequest
)
:
undefined
|
false
|
true
Parameters
request:
HttpRequest
Returns
undefined
|
false
|
true
Static
Private
is
Retryable
Stream
is
Retryable
Stream
(
obj
:
any
)
:
boolean
Parameters
obj:
any
Returns
boolean
Static
Private
refresh
Request
refresh
Request
(
request
:
HttpRequest
)
:
void
Parameters
request:
HttpRequest
Returns
void
Default
Retry
Condition
Generic
Retrier
constructor
_logger
_retry
Configuration
Default
Retry
Configuration
OCI_
SDK_
DEFAULT_
RETRY_
ENABLED
OPC_
CLIENT_
RETRIES_
HEADER
back
UpBinary
Body
logger
retry
Configuration
default
Retry
Configuration
env
Variable
Check
For
Default
Retry
add
Opc
Client
Retry
Header
make
Service
Call
create
Preferred
Retrier
is
Request
Retryable
is
Retryable
Stream
refresh
Request
Retry
Configuration
Details
Retry
Configuration
CONTENT_
TYPE_
HEADER
NO_
RETRY_
MAXIMUM_
DELAY_
IN_
SECONDS
NO_
RETRY_
MAXIMUM_
NUMBER_
OF_
ATTEMPTS
OCI_
SDK_
DEFAULT_
RETRY_
MAXIMUM_
DELAY_
IN_
SECONDS
OCI_
SDK_
DEFAULT_
RETRY_
MAXIMUM_
NUMBER_
OF_
ATTEMPTS
SERVER_
SIDE_
EVENT_
TEXT_
STREAM
TROUBLESHOOT_
URL
No
Retry
Configuration
Details
Oci
Sdk
Default
Retry
Configuration