|
@@ -61,8 +61,10 @@ public class RecallService implements ApplicationContextAware {
|
|
|
CountDownLatch cdl = new CountDownLatch(strategies.size());
|
|
|
List<Future<RecallResult.RecallData>> recallResultFutures = new ArrayList<>();
|
|
|
for (final RecallStrategy strategy : strategies) {
|
|
|
+ log.info("supply flowpool strategy = {}", strategy.getClass().toString());
|
|
|
Future<RecallResult.RecallData> future = pool.submit(() -> {
|
|
|
List<Video> result = strategy.recall(param);
|
|
|
+ log.info("supply flowpool strategy = {}, result = {}", strategy.getClass().toString(), result);
|
|
|
cdl.countDown();
|
|
|
return new RecallResult.RecallData(strategy.pushFrom(), result);
|
|
|
});
|