Interface Backoff.Policy
-
- All Known Implementing Classes:
Backoff.Constant,Backoff.Exponential,Backoff.Jitter
- Enclosing class:
- Backoff
public static interface Backoff.PolicyBack off policy.It defines a stream of time durations that will be used for backing off.
-
-
Field Summary
Fields Modifier and Type Field Description static Backoff.PolicyNONE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.stream.Stream<java.lang.Long>toBackoffs()Convert the policy into a series of backoff values.
-
-
-
Field Detail
-
NONE
static final Backoff.Policy NONE
-
-