| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
Timeout |
TimeoutExceededException.getTimeout()
Retruns the
Timeout that caused the exception. |
static <R> Timeout<R> |
Timeout.of(Duration timeout)
|
Timeout<R> |
Timeout.withCancel(boolean mayInterruptIfRunning)
Configures the policy to cancel an execution if it times out.
|
| Constructor and Description |
|---|
TimeoutExceededException(Timeout timeout) |
Copyright © 2020. All rights reserved.