Untitled
wyc1230
plain_text
9 months ago
372 B
7
Indexable
List<Future<Void>> futures = batchInfoList.stream()
.map(batchInfo -> threadPoolExecutor.submit(() -> {
callOutboundCreateBatchApi(context.getProcessPath(), context.getNow(), Lists.newArrayList(batchInfo), context.getTraceId());
return null;
}))
.collect(Collectors.toList());Editor is loading...
Leave a Comment