Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface that specifies the retry quota behavior.

Hierarchy

  • RetryQuota

Index

Properties

hasRetryTokens

hasRetryTokens: (error: SdkError) => boolean

returns true if retry tokens are available from the retry quota bucket.

Type declaration

releaseRetryTokens

releaseRetryTokens: (releaseCapacityAmount?: number) => void

releases tokens back to the retry quota.

Type declaration

    • (releaseCapacityAmount?: number): void
    • Parameters

      • Optional releaseCapacityAmount: number

      Returns void

retrieveRetryTokens

retrieveRetryTokens: (error: SdkError) => number

returns token amount from the retry quota bucket. throws error is retry tokens are not available.

Type declaration