Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
Class FallbackConfig.BuilderBase.FallbackConfigImpl<T>
java.lang.Object
io.helidon.faulttolerance.FallbackConfig.BuilderBase.FallbackConfigImpl<T>
- Type Parameters:
T
- return type of the fallback method
- All Implemented Interfaces:
Prototype.Api
,FallbackConfig<T>
- Enclosing class:
FallbackConfig.BuilderBase<T,
BUILDER extends FallbackConfig.BuilderBase<T, BUILDER, PROTOTYPE>, PROTOTYPE extends FallbackConfig<T>>
protected static class FallbackConfig.BuilderBase.FallbackConfigImpl<T>
extends Object
implements FallbackConfig<T>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.faulttolerance.FallbackConfig
FallbackConfig.Builder<T>, FallbackConfig.BuilderBase<T,
BUILDER extends FallbackConfig.BuilderBase<T, BUILDER, PROTOTYPE>, PROTOTYPE extends FallbackConfig<T>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FallbackConfigImpl
(FallbackConfig.BuilderBase<T, ?, ?> builder) Create an instance providing a builder. -
Method Summary
-
Constructor Details
-
FallbackConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
fallback
Description copied from interface:FallbackConfig
A fallback function.- Specified by:
fallback
in interfaceFallbackConfig<T>
- Returns:
- fallback function to obtain alternative result
-
skipOn
Description copied from interface:FallbackConfig
These throwables will not be considered retriable, all other will.- Specified by:
skipOn
in interfaceFallbackConfig<T>
- Returns:
- throwable classes to skip retries
- See Also:
-
applyOn
Description copied from interface:FallbackConfig
These throwables will be considered retriable.- Specified by:
applyOn
in interfaceFallbackConfig<T>
- Returns:
- throwable classes to trigger retries
- See Also:
-
toString
-
equals
-
hashCode
public int hashCode()
-