Package io.github.resilience4j.retry
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.IntervalFunctionDeprecated.Use io.github.resilience4j.core.IntervalFunction instead, this class kept for backwards compatibility
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_INITIAL_INTERVALDeprecated.static doubleDEFAULT_MULTIPLIERDeprecated.static doubleDEFAULT_RANDOMIZATION_FACTORDeprecated.
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static IntervalFunctionof(long intervalMillis)Deprecated.static IntervalFunctionof(long intervalMillis, java.util.function.Function<java.lang.Long,java.lang.Long> backoffFunction)Deprecated.static IntervalFunctionof(java.time.Duration interval)Deprecated.static IntervalFunctionof(java.time.Duration interval, java.util.function.Function<java.lang.Long,java.lang.Long> backoffFunction)Deprecated.static IntervalFunctionofDefaults()Deprecated.static IntervalFunctionofExponentialBackoff()Deprecated.static IntervalFunctionofExponentialBackoff(long initialIntervalMillis)Deprecated.static IntervalFunctionofExponentialBackoff(long initialIntervalMillis, double multiplier)Deprecated.static IntervalFunctionofExponentialBackoff(java.time.Duration initialInterval)Deprecated.static IntervalFunctionofExponentialBackoff(java.time.Duration initialInterval, double multiplier)Deprecated.static IntervalFunctionofExponentialRandomBackoff()Deprecated.static IntervalFunctionofExponentialRandomBackoff(long initialIntervalMillis)Deprecated.static IntervalFunctionofExponentialRandomBackoff(long initialIntervalMillis, double multiplier)Deprecated.static IntervalFunctionofExponentialRandomBackoff(long initialIntervalMillis, double multiplier, double randomizationFactor)Deprecated.static IntervalFunctionofExponentialRandomBackoff(java.time.Duration initialInterval)Deprecated.static IntervalFunctionofExponentialRandomBackoff(java.time.Duration initialInterval, double multiplier)Deprecated.static IntervalFunctionofExponentialRandomBackoff(java.time.Duration initialInterval, double multiplier, double randomizationFactor)Deprecated.static IntervalFunctionofRandomized()Deprecated.static IntervalFunctionofRandomized(long interval)Deprecated.static IntervalFunctionofRandomized(long intervalMillis, double randomizationFactor)Deprecated.static IntervalFunctionofRandomized(java.time.Duration interval)Deprecated.static IntervalFunctionofRandomized(java.time.Duration interval, double randomizationFactor)Deprecated.
-
-
-
Field Detail
-
DEFAULT_INITIAL_INTERVAL
static final long DEFAULT_INITIAL_INTERVAL
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_MULTIPLIER
static final double DEFAULT_MULTIPLIER
Deprecated.- See Also:
- Constant Field Values
-
DEFAULT_RANDOMIZATION_FACTOR
static final double DEFAULT_RANDOMIZATION_FACTOR
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
ofDefaults
static IntervalFunction ofDefaults()
Deprecated.
-
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.
-
of
static IntervalFunction of(long intervalMillis)
Deprecated.
-
of
static IntervalFunction of(java.time.Duration interval)
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.
-
ofRandomized
static IntervalFunction ofRandomized()
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.
-
-