Retry (faulttolerance) Configuration

Type: io.helidon.faulttolerance.Retry

Configuration options

Optional configuration options
keytypedefault valuedescription
cancel-source

boolean

true

Policy to cancel any source stage if the value return by Retry#invoke is cancelled. Default is true; mostly used by FT MP to change default.

name

string

Retry-

A name assigned for debugging, error reporting or configuration purposes.

overall-timeout

Duration

PT1S

Overall timeout. When overall timeout is reached, execution terminates (even if the retry policy was not exhausted).

retry-policy

io.helidon.faulttolerance.Retry.RetryPolicy (service provider interface)

Such as:

 

Configure a retry policy to use to calculate delays between retries. Defaults to a io.helidon.faulttolerance.Retry.JitterRetryPolicy with 4 calls (initial call + 3 retries), delay of 200 millis and a jitter of 50 millis.