| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
DelayFunction<R,? extends Throwable> |
DelayablePolicy.getDelayFn()
Returns the function that determines the next delay before allowing another execution.
|
| Modifier and Type | Method and Description |
|---|---|
S |
DelayablePolicy.withDelay(DelayFunction<R,? extends Throwable> delayFunction)
Sets the
delayFunction that computes the next delay before allowing another execution. |
<F extends Throwable> |
DelayablePolicy.withDelayOn(DelayFunction<R,F> delayFunction,
Class<F> failure)
Sets the
delayFunction that computes the next delay before allowing another execution. |
S |
DelayablePolicy.withDelayWhen(DelayFunction<R,? extends Throwable> delayFunction,
R result)
Sets the
delayFunction that computes the next delay before allowing another execution. |
Copyright © 2020. All rights reserved.