Closure Library API Documentation
Go to class or file:
math.ExponentialBackoff
Extends
No description.
Useful links
Source Code
Git
Inheritance
goog.math.ExponentialBackoff
Constructor
goog.math.ExponentialBackoff(
initialValue
,
maxValue
)
Parameters
initialValue
:
number
The initial backoff value.
maxValue
:
number
The maximum backoff value.
Instance Methods
Public
Protected
Private
Defined in
goog.math.ExponentialBackoff
backoff
()
Initiates a backoff.
code »
getBackoffCount
()
⇒
number
No description.
Returns:
number
The number of times this class has backed off.
code »
getValue
()
⇒
number
No description.
Returns:
number
The current backoff value.
code »
reset
()
Resets the backoff value to its initial value.
code »
Instance Properties
Defined in
goog.math.ExponentialBackoff
currCount_
:
The number of backoffs that have happened.
Code »
currValue_
:
The current backoff value.
Code »
initialValue_
:
No description.
Code »
maxValue_
:
No description.
Code »
Package math
Package Reference