|
@@ -36,8 +36,6 @@ public class RecallService implements ApplicationContextAware {
|
|
|
private final Map<String, RecallStrategy> strategyMap = new HashMap<>();
|
|
|
private ApplicationContext applicationContext;
|
|
|
private final ExecutorService pool = ThreadPoolFactory.recallPool();
|
|
|
- @ApolloJsonValue("${last.digit.abcode:{}}")
|
|
|
- protected Map<Integer, String> lastDigitAbcode;
|
|
|
@ApolloJsonValue("${alg.recall.special.app&vid:{}}")
|
|
|
protected Map<String, List<Long>> specialAppVid;
|
|
|
@Resource
|
|
@@ -60,7 +58,7 @@ public class RecallService implements ApplicationContextAware {
|
|
|
|
|
|
public RecallResult recall(RecallParam param) {
|
|
|
List<RecallStrategy> strategies = getRecallStrategy(param);
|
|
|
- log.info("strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies, o -> o.getClass().getSimpleName())));
|
|
|
+ //log.info("strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,o -> o.getClass().getSimpleName())));
|
|
|
CountDownLatch cdl = new CountDownLatch(strategies.size());
|
|
|
List<Future<RecallResult.RecallData>> recallResultFutures = new ArrayList<>();
|
|
|
for (final RecallStrategy strategy : strategies) {
|