summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authormdooley <mdooley@google.com>2017-11-17 10:49:59 -0800
committerzachh <zachh@google.com>2017-11-18 07:35:13 +0000
commit6a63e8d6830ff6e01454ee116c6df36294818cdb (patch)
tree036bc3f14b46c22c921a2ce5154c53fde1748f70 /LICENSE
parentc170e2df0230f46e06ed066becc0001f5b8eb44e (diff)
Adding exponential backoff utilities
This cl adds two classes, one to calculate a base multiplier for an exponential backoff series and the other to return sequential values in an exponential backoff series. This cl has a number of advantages over the previous one, such as: - separating the base multiplier calculation from the exponential backoff class so that a standard exponential backoff class like com.google.common.labs.concurrent.RetryStrategy.ExponentialBackoff could be used instead if it becomes open source - allows the backoff sequence to be scaled by specify an initial backoff delay - uses milliseconds instead of arbitrary time units which allows the tolerance to be set automatically when calculating the base multiplier WANT_LGTM=zachh Bug: 66966157 Test: unit tests PiperOrigin-RevId: 176130268 Change-Id: I75135d4df16f642ea9dd3ef9ff9498981beae2c6
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions