Package | Description |
---|---|
ratpack.exec.util.retry |
Modifier and Type | Class and Description |
---|---|
class |
FixedDelay
A fixed duration based implementation of
Delay . |
class |
IndexedDelay
A index based implementation of
Delay . |
Modifier and Type | Field and Description |
---|---|
static Delay |
DurationRetryPolicyBuilder.DEFAULT_DELAY
By default, retries will wait 1 second between executions.
|
static Delay |
AttemptRetryPolicyBuilder.DEFAULT_DELAY
By default, retries will wait 1 second between executions.
|
Modifier and Type | Method and Description |
---|---|
DurationRetryPolicyBuilder |
DurationRetryPolicyBuilder.delay(Delay delay)
The delay strategy.
|
AttemptRetryPolicyBuilder |
AttemptRetryPolicyBuilder.delay(Delay delay)
The delay strategy
|
Constructor and Description |
---|
AttemptRetryPolicy(Delay delay,
int maxAttempts) |
DurationRetryPolicy(Delay delay,
java.time.Duration maxDuration,
java.time.Clock clock) |