Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RetryOptions

Represents the Retry policy assocated with throttled requests in the Azure Cosmos DB database service.

Hierarchy

  • RetryOptions

Index

Constructors

constructor

  • new RetryOptions(MaxRetryAttemptCount?: number, FixedRetryIntervalInMilliseconds?: number, MaxWaitTimeInSeconds?: number): RetryOptions
  • Parameters

    • Default value MaxRetryAttemptCount: number = 9
    • Default value FixedRetryIntervalInMilliseconds: number = 0
    • Default value MaxWaitTimeInSeconds: number = 30

    Returns RetryOptions

Properties

FixedRetryIntervalInMilliseconds

FixedRetryIntervalInMilliseconds: number

Fixed retry interval in milliseconds to wait between each retry ignoring the retryAfter returned as part of the response.

MaxRetryAttemptCount

MaxRetryAttemptCount: number

Max number of retries to be performed for a request. Default value 9.

MaxWaitTimeInSeconds

MaxWaitTimeInSeconds: number

Max wait time in seconds to wait for a request while the retries are happening. Default value 30 seconds.

Generated using TypeDoc