Interface IntervalFunction

  • All Superinterfaces:
    java.util.function.Function<java.lang.Integer,​java.lang.Long>, io.github.resilience4j.core.IntervalFunction
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Deprecated
    public interface IntervalFunction
    extends io.github.resilience4j.core.IntervalFunction
    Deprecated.
    Use io.github.resilience4j.core.IntervalFunction instead, this class kept for backwards compatibility
    • Field Detail

      • DEFAULT_INITIAL_INTERVAL

        static final long DEFAULT_INITIAL_INTERVAL
        Deprecated.
        See Also:
        Constant Field Values
      • DEFAULT_RANDOMIZATION_FACTOR

        static final double DEFAULT_RANDOMIZATION_FACTOR
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • of

        static IntervalFunction of​(long intervalMillis,
                                   java.util.function.Function<java.lang.Long,​java.lang.Long> backoffFunction)
        Deprecated.
      • of

        static IntervalFunction of​(java.time.Duration interval,
                                   java.util.function.Function<java.lang.Long,​java.lang.Long> backoffFunction)
        Deprecated.
      • ofRandomized

        static IntervalFunction ofRandomized​(long intervalMillis,
                                             double randomizationFactor)
        Deprecated.
      • ofRandomized

        static IntervalFunction ofRandomized​(java.time.Duration interval,
                                             double randomizationFactor)
        Deprecated.
      • ofRandomized

        static IntervalFunction ofRandomized​(long interval)
        Deprecated.
      • ofRandomized

        static IntervalFunction ofRandomized​(java.time.Duration interval)
        Deprecated.
      • ofExponentialBackoff

        static IntervalFunction ofExponentialBackoff​(long initialIntervalMillis,
                                                     double multiplier)
        Deprecated.
      • ofExponentialBackoff

        static IntervalFunction ofExponentialBackoff​(java.time.Duration initialInterval,
                                                     double multiplier)
        Deprecated.
      • ofExponentialBackoff

        static IntervalFunction ofExponentialBackoff​(long initialIntervalMillis)
        Deprecated.
      • ofExponentialBackoff

        static IntervalFunction ofExponentialBackoff​(java.time.Duration initialInterval)
        Deprecated.
      • ofExponentialBackoff

        static IntervalFunction ofExponentialBackoff()
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(long initialIntervalMillis,
                                                           double multiplier,
                                                           double randomizationFactor)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(java.time.Duration initialInterval,
                                                           double multiplier,
                                                           double randomizationFactor)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(long initialIntervalMillis,
                                                           double multiplier)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(java.time.Duration initialInterval,
                                                           double multiplier)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(long initialIntervalMillis)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff​(java.time.Duration initialInterval)
        Deprecated.
      • ofExponentialRandomBackoff

        static IntervalFunction ofExponentialRandomBackoff()
        Deprecated.