Uses of Class
io.helidon.config.SimpleRetryPolicy.Builder
Package
Description
Provides interfaces and classes for loading and working with immutable, tree-structured
configuration data.
-
Uses of SimpleRetryPolicy.Builder in io.helidon.config
Modifier and TypeMethodDescriptionstatic SimpleRetryPolicy.Builder
SimpleRetryPolicy.builder()
Fluent API builder forSimpleRetryPolicy
.SimpleRetryPolicy.Builder.callTimeout
(Duration callTimeout) Timeout for the individual invocation.Update this builder from meta configuration.Delay between the invocations.SimpleRetryPolicy.Builder.delayFactor
(double delayFactor) A delay multiplication factor.SimpleRetryPolicy.Builder.executorService
(ScheduledExecutorService executorService) An executor service to schedule retries and run timed operations on.SimpleRetryPolicy.Builder.overallTimeout
(Duration overallTimeout) Overall timeout.static SimpleRetryPolicy.Builder
RetryPolicies.repeat
(int retries) Creates a new instance ofSimpleRetryPolicy.Builder
class with a number of retries as a parameter.SimpleRetryPolicy.Builder.retries
(int retries) Number of retries (excluding the first invocation).