Class StrategyCache
java.lang.Object
io.smallrye.faulttolerance.internal.StrategyCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V,AT> AsyncSupport <V, AT> getAsyncSupport(InterceptionPoint point, FaultToleranceOperation operation) getBeforeRetryMethod(InterceptionPoint point, FaultToleranceOperation operation) getFallbackExceptionDecision(InterceptionPoint point, Supplier<ExceptionDecision> producer) <V> FallbackFunction<V> getFallbackFunction(InterceptionPoint point, Supplier<FallbackFunction<V>> producer) getFallbackMethodCandidates(InterceptionPoint point, FaultToleranceOperation operation) <V> FaultToleranceStrategy<V> getStrategy(InterceptionPoint point, Supplier<FaultToleranceStrategy<V>> producer)
-
Constructor Details
-
StrategyCache
-
-
Method Details
-
getStrategy
public <V> FaultToleranceStrategy<V> getStrategy(InterceptionPoint point, Supplier<FaultToleranceStrategy<V>> producer) -
getFallbackMethodCandidates
public FallbackMethodCandidates getFallbackMethodCandidates(InterceptionPoint point, FaultToleranceOperation operation) -
getBeforeRetryMethod
public BeforeRetryMethod getBeforeRetryMethod(InterceptionPoint point, FaultToleranceOperation operation) -
getAsyncSupport
public <V,AT> AsyncSupport<V,AT> getAsyncSupport(InterceptionPoint point, FaultToleranceOperation operation) -
getFallbackFunction
public <V> FallbackFunction<V> getFallbackFunction(InterceptionPoint point, Supplier<FallbackFunction<V>> producer) -
getFallbackExceptionDecision
public ExceptionDecision getFallbackExceptionDecision(InterceptionPoint point, Supplier<ExceptionDecision> producer)
-