@Singleton public class StrategyCache extends Object
| Constructor and Description |
|---|
StrategyCache() |
| Modifier and Type | Method and Description |
|---|---|
MetricsCollector |
getMetrics(InterceptionPoint point,
Function<InterceptionPoint,MetricsCollector> producer) |
<V> FaultToleranceStrategy<V> |
getStrategy(InterceptionPoint point,
Function<InterceptionPoint,FaultToleranceStrategy<V>> producer) |
public <V> FaultToleranceStrategy<V> getStrategy(InterceptionPoint point, Function<InterceptionPoint,FaultToleranceStrategy<V>> producer)
public MetricsCollector getMetrics(InterceptionPoint point, Function<InterceptionPoint,MetricsCollector> producer)
Copyright © 2018–2020. All rights reserved.