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.
Interface to be implemented by classes providing back off semantics, e.g. fixed or exponential back off.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Encapsulates back off execution state. -
Method Summary
-
Method Details
-
start
BackOff.Execution start()Starts a back offBackOff.Execution
.- Returns:
- a newly started back off
-