-
- All Superinterfaces:
FtHandler
public interface Retry extends FtHandler
Retry supports retry policies to be applied on an execution of asynchronous tasks.In case you call the
FtHandler.invokeMulti(java.util.function.Supplier)method, the following restriction applies:- In case at least one record was sent (one
onNextwas called), the retry will not trigger.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRetry.BuilderFluent API builder forRetry.static classRetry.DelayingRetryPolicyA retry policy that prolongs the delays between retries by a defined factor.static classRetry.JitterRetryPolicyA retry policy that randomizes delays between execution using a "jitter" time.static interfaceRetry.RetryPolicyRetry policy to handle delays between retries.
-
Method Summary
Static Methods Modifier and Type Method Description static Retry.Builderbuilder()A new builder to customizeRetryconfiguration.-
Methods inherited from interface io.helidon.faulttolerance.FtHandler
invoke, invokeMulti
-
-
-
-
Method Detail
-
builder
static Retry.Builder builder()
A new builder to customizeRetryconfiguration.- Returns:
- a new builder
-
-