Class StrategyCache
- java.lang.Object
-
- io.smallrye.faulttolerance.internal.StrategyCache
-
@Singleton public class StrategyCache extends Object
-
-
Constructor Summary
Constructors Constructor Description StrategyCache(SpecCompatibility specCompatibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FallbackMethodCandidatesgetFallbackMethodCandidates(InterceptionPoint point, String fallbackMethodName)MetricsRecordergetMetrics(InterceptionPoint point, Supplier<MetricsRecorder> producer)<V> FaultToleranceStrategy<V>getStrategy(InterceptionPoint point, Supplier<FaultToleranceStrategy<V>> producer)
-
-
-
Constructor Detail
-
StrategyCache
@Inject public StrategyCache(SpecCompatibility specCompatibility)
-
-
Method Detail
-
getStrategy
public <V> FaultToleranceStrategy<V> getStrategy(InterceptionPoint point, Supplier<FaultToleranceStrategy<V>> producer)
-
getMetrics
public MetricsRecorder getMetrics(InterceptionPoint point, Supplier<MetricsRecorder> producer)
-
getFallbackMethodCandidates
public FallbackMethodCandidates getFallbackMethodCandidates(InterceptionPoint point, String fallbackMethodName)
-
-