Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
Class RetryConfig.BuilderBase.RetryConfigImpl
java.lang.Object
io.helidon.faulttolerance.RetryConfig.BuilderBase.RetryConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<Retry>
,RetryConfig
,Supplier<Retry>
- Enclosing class:
RetryConfig.BuilderBase<BUILDER extends RetryConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends RetryConfig>
protected static class RetryConfig.BuilderBase.RetryConfigImpl
extends Object
implements RetryConfig, Supplier<Retry>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.faulttolerance.RetryConfig
RetryConfig.Builder, RetryConfig.BuilderBase<BUILDER extends RetryConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends RetryConfig> -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
RetryConfigImpl
(RetryConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Field Details
-
DEFAULT_CALLS
static final int DEFAULT_CALLSDefault calls to make.- See Also:
-
DEFAULT_DELAY
Default delay between retries.- See Also:
-
DEFAULT_OVERALL_TIMEOUT
Default overall timeout.- See Also:
-
-
Constructor Details
-
RetryConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<Retry>
- Returns:
- new configured runtime instance
-
get
-
name
-
calls
public int calls() -
delay
-
delayFactor
public double delayFactor() -
jitter
-
overallTimeout
-
skipOn
-
applyOn
-
retryPolicy
-
toString
-
equals
-
hashCode
public int hashCode()
-