Interface BackOffStrategy

  • All Known Implementing Classes:
    FixedBackOffStrategy

    public interface BackOffStrategy
    A back-off strategy is used to configure different strategies for calculating the interval time between iterations
    • Method Detail

      • calculateInterval

        long calculateInterval​(int iteration)
        Calculates the back-off interval
        Parameters:
        iteration - the current iteration count
        Returns:
        the interval in milliseconds