Package | Description |
---|---|
dev.failsafe |
APIs for performing failsafe executions.
|
Modifier and Type | Method and Description |
---|---|
static <R> TimeoutBuilder<R> |
Timeout.builder(Duration timeout)
|
static <R> TimeoutBuilder<R> |
Timeout.builder(TimeoutConfig<R> config)
Creates a new TimeoutBuilder that will be based on the
config . |
TimeoutBuilder<R> |
TimeoutBuilder.withInterrupt()
Configures the policy to interrupt an execution in addition to cancelling it when the timeout is exceeded.
|
Copyright © 2022. All rights reserved.