properties = hystrixPropertiesStrategy.getThreadPoolProperties(key, builder); return hystrixPropertiesStrategy.getThreadPoolProperties(key, builder);
@Override public HystrixThreadPoolProperties getThreadPoolProperties(HystrixThreadPoolKey qualifiedThreadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties.Setter builder) { if (MultiConfigId.hasMultiSourceId(qualifiedThreadPoolKey)) { return strategies.get(MultiConfigId.readFrom(qualifiedThreadPoolKey)) .getThreadPoolProperties(MultiConfigId.decode(qualifiedThreadPoolKey), builder); } else { return underlying().map(strategy -> strategy.getThreadPoolProperties(qualifiedThreadPoolKey, builder)) .orElseGet(() -> super.getThreadPoolProperties(qualifiedThreadPoolKey, builder)); } }
properties = hystrixPropertiesStrategy.getThreadPoolProperties(key, builder); return hystrixPropertiesStrategy.getThreadPoolProperties(key, builder);
@Override public HystrixThreadPoolProperties getThreadPoolProperties(HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties.Setter builder) { return this.beanMapping.getBeanKey(threadPoolKey) .flatMap(beanKey -> createThreadPoolProperties(beanKey, threadPoolKey, builder)) .orElse(super.getThreadPoolProperties(threadPoolKey, builder)); }
@Override public HystrixThreadPoolProperties getThreadPoolProperties(HystrixThreadPoolKey threadPoolKey, com.netflix.hystrix.HystrixThreadPoolProperties.Setter builder) { return this.strategyMapping.getHystrixStrategies(threadPoolKey) .getHystrixPropertiesStrategy() .getThreadPoolProperties(threadPoolKey, builder); }