Implementation of IBackOff that increases the back-off period for each retry attempt using a
randomization function that grows exponentially. In addition, it also adds a randomize number of milliseconds
for each attempt.
Gets the delta time span used to generate a random milliseconds to add to the next back-off.
If the value is Zero then the generated back-off will be exactly 1, 2, 4,
8, 16, etc. seconds. A valid value is between zero and one second. The default value is 250ms, which means
that the generated back-off will be [0.75-1.25]sec, [1.75-2.25]sec, [3.75-4.25]sec, and so on.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eExponentialBackOff\u003c/code\u003e class, which implements the \u003ccode\u003eIBackOff\u003c/code\u003e interface for handling retry attempts with exponentially increasing wait times.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExponentialBackOff\u003c/code\u003e class introduces a randomized element to the back-off period, adding a random number of milliseconds to each attempt, based on a \u003ccode\u003eDeltaBackOff\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for configuration of both a \u003ccode\u003eDeltaBackOff\u003c/code\u003e time span, controlling the randomness, and \u003ccode\u003eMaxNumOfRetries\u003c/code\u003e, defining the maximum number of retry attempts, with default values of 250ms and 10 respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetNextBackOff\u003c/code\u003e method is used to calculate the amount of time to wait before retrying, it will return \u003ccode\u003eMinValue\u003c/code\u003e if the current retry attempt has met the \u003ccode\u003eMaxNumOfRetries\u003c/code\u003e limit.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, one default constructor with no parameters, and one with parameters for defining \u003ccode\u003eTimeSpan deltaBackOff\u003c/code\u003e and the \u003ccode\u003emaximumNumOfRetries\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]