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