See constant for a Java friendly API
Alias for const, which is a reserved word in Java
Create backoffs that have jitter with a random distribution
between start
and 3 times the previously selected value, capped at maximum
.
Create backoffs that have jitter with a random distribution
between start
and 3 times the previously selected value, capped at maximum
.
must be greater than 0 and less than or equal to maximum
.
must be greater than 0 and greater than or equal to start
.
exponentialJittered and equalJittered for alternative jittered approaches.
Create backoffs that keep half of the exponential growth, and jitter between 0 and that amount.
Create backoffs that keep half of the exponential growth, and jitter between 0 and that amount.
exponentialJittered and decorrelatedJittered for alternative jittered approaches.
Create backoffs that grow exponentially by multiplier
, capped at maximum
.
Create backoffs that grow exponentially by multiplier
, capped at maximum
.
exponentialJittered for a version that incorporates jitter.
Create backoffs that grow exponentially by multiplier
.
Create backoffs that grow exponentially by multiplier
.
exponentialJittered for a version that incorporates jitter.
Create backoffs that grow exponentially by 2, capped at maximum
,
with each backoff having jitter, or randomness, between 0 and the
exponential backoff value.
Create backoffs that grow exponentially by 2, capped at maximum
,
with each backoff having jitter, or randomness, between 0 and the
exponential backoff value.
must be greater than 0 and less than or equal to maximum
.
must be greater than 0 and greater than or equal to start
.
decorrelatedJittered and equalJittered for alternative jittered approaches.
Create backoffs with values produced by a given generation function.
Create backoffs that grow linear by offset
, capped at maximum
.
Create backoffs that grow linear by offset
.
Convert a Stream of Durations into a Java-friendly representation.
Implements various backoff strategies.
Strategies are defined by a
Stream[Duration]
and are intended for use with RetryFilter.apply and RetryPolicy.backoff to determine the duration after which a request is to be retried.