Class FixedDelayWithoutJitter

    • Constructor Detail

      • FixedDelayWithoutJitter

        public FixedDelayWithoutJitter​(Duration delay)
    • Method Detail

      • computeDelay

        public Duration computeDelay​(int attempt)
        Description copied from interface: BackoffStrategy
        Compute the amount of time to wait before the provided attempt number is executed.
        Specified by:
        computeDelay in interface BackoffStrategy
        Parameters:
        attempt - The attempt to compute the delay for, starting at one.