Class FibonacciBackOff

  • All Implemented Interfaces:
    BackOff

    public class FibonacciBackOff
    extends Object
    implements BackOff
    Always ignores the cause passed to getInMillis.
    • Constructor Detail

      • FibonacciBackOff

        public FibonacciBackOff​(long initialDelayInMillis,
                                Jitter jitter,
                                long maxDelayInMillis)
    • Method Detail

      • getInMillis

        public long getInMillis​(Throwable cause)
        Specified by:
        getInMillis in interface BackOff
        Parameters:
        cause - exception causing the retry attempt before which the delay occurs
        Returns:
        non-negative number