java.lang.Object
io.helidon.config.RetryPolicies
Class provides access to built-in 
RetryPolicy implementations.- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic RetryPolicyjustCall()An implementation that invokes the requested method just once, without any execute.static SimpleRetryPolicy.Builderrepeat(int retries) Creates a new instance ofSimpleRetryPolicy.Builderclass with a number of retries as a parameter.
- 
Method Details- 
repeatCreates a new instance ofSimpleRetryPolicy.Builderclass with a number of retries as a parameter.The default values are: - delay: 200ms
- delayFactor: 2.0
- callTimeout: 500ms
- overallTimeout: 2s
- executor: single-threaded scheduled executor
 The default RetryPolicyisjustCall().- Parameters:
- retries- a number of retries, excluding the first call
- Returns:
- a new builder
 
- 
justCallAn implementation that invokes the requested method just once, without any execute.- Returns:
- a default execute policy
 
 
-