Interface Backoff.Policy
- All Known Implementing Classes:
Backoff.Constant,Backoff.Exponential,Backoff.Jitter
- Enclosing class:
- Backoff
public static interface Backoff.Policy
Back off policy.
It defines a stream of time durations that will be used for backing off.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionConvert the policy into a series of backoff values.
-
Field Details
-
NONE
-
-
Method Details
-
toBackoffs
Convert the policy into a series of backoff values.- Returns:
- a series of backoff values.
-