Interface BackOff.Execution
- Enclosing interface:
BackOff
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Encapsulates back off execution state.
-
Method Summary
-
Method Details
-
next
long next()Yields the number of milliseconds to back off.- Returns:
- number of milliseconds to back off, or
-1L
if back off is exhausted
-