예제 #1
0
 @Override
 protected List<O> execute(Task<I, O> task, List<I> batch) {
   try {
     return task.apply(batch);
   } catch (IOException e) {
     e.printStackTrace();
   }
   return Collections.emptyList();
 }
예제 #2
0
 @Override
 protected void post() {
   for (Task<I, O> task : tasks) {
     task.post();
   }
 }