Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DefaultRetryCondition

Hierarchy

  • DefaultRetryCondition

Properties

Static Private RETRYABLE_SERVICE_ERRORS

RETRYABLE_SERVICE_ERRORS: Map<number, string> = new Map([[409, "IncorrectState"],[429, "TooManyRequests"]])

Default retry condition for Retry mechanism NOTE : Retries are not supported for requests that have binary or stream bodies

Methods

Static shouldBeRetried

  • shouldBeRetried(error: OciError): boolean