Class FixedDelay

    • Constructor Detail

      • FixedDelay

        public FixedDelay​(long initialDelay,
                          long subsequentDelay)
        Deprecated.
        Initialize a new FixedDelay with a given initialDelay and subsequentDelay.
        Parameters:
        initialDelay - value for the initial delay
        subsequentDelay - value for all other delays
      • FixedDelay

        public FixedDelay​(int delay)
        Deprecated.
        Initialize a new FixedDelay with fixed delay value given by delay parameter.
        Parameters:
        delay - value for all delays
    • Method Detail

      • nextDelay

        public long nextDelay()
        Deprecated.
        The value computed by this DelayStrategy for the next delay.
        Specified by:
        nextDelay in interface DelayStrategy
        Returns:
        a delay value