The goog.math.ExponentialBackoff Class

goog.math.ExponentialBackoff(initialValue, maxValue)

initialValue {number}
The initial backoff value.
maxValue {number}
The maximum backoff value.

.backoff()

Initiates a backoff.

.getBackoffCount()

returns {number}
The number of times this class has backed off.

.getValue()

returns {number}
The current backoff value.

.reset()

Resets the backoff value to its initial value.