Retry (faulttolerance) Configuration

Type: io.helidon.faulttolerance.Retry

This is a standalone configuration type, prefix from configuration root: fault-tolerance.retries

Configuration options

Optional configuration options
keytypedefault valuedescription
calls

int

3

Number of calls (first try + retries).

@return number of desired calls, must be 1 (means no retries) or higher.
delay

Duration

PT0.2S

Base delay between try and retry. Defaults to 200 ms.

@return delay between retries (combines with retry policy)
delay-factor

double

-1

Delay retry policy factor. If unspecified (value of -1), Jitter retry policy would be used, unless jitter is also unspecified.

Default when Retry.DelayingRetryPolicy is used is `2`.
@return delay factor for delaying retry policy
jitter

Duration

PT-1S

Jitter for Retry.JitterRetryPolicy. If unspecified (value of -1), delaying retry policy is used. If both this value, and #delayFactor() are specified, delaying retry policy would be used.

@return jitter
overall-timeout

Duration

PT1S

Overall timeout of all retries combined.

@return overall timeout