| Package | Description |
|---|---|
| ratpack.exec.util.retry |
| Modifier and Type | Method and Description |
|---|---|
AttemptRetryPolicyBuilder |
AttemptRetryPolicyBuilder.delay(Delay delay)
The delay strategy
|
AttemptRetryPolicyBuilder |
AttemptRetryPolicyBuilder.maxAttempts(int maxAttempts)
Maximum number of allowed retry attempts
|
| Modifier and Type | Method and Description |
|---|---|
static AttemptRetryPolicy |
AttemptRetryPolicy.of(Action<? super AttemptRetryPolicyBuilder> definition)
Builds a new attempt based retry policy from the given definition.
|