Class FibonacciBackOff
java.lang.Object
io.smallrye.faulttolerance.core.retry.FibonacciBackOff
- All Implemented Interfaces:
BackOff
Always ignores the
cause passed to getInMillis.-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionFibonacciBackOff(long initialDelayInMillis, Jitter jitter, long maxDelayInMillis) -
Method Summary
-
Constructor Details
-
FibonacciBackOff
-
-
Method Details
-
getInMillis
- Specified by:
getInMillisin interfaceBackOff- Parameters:
cause- exception causing the retry attempt before which the delay occurs- Returns:
- non-negative number
-