예제 #1
0
 @Override
 protected void pre() {
   for (DataReader<O> reader : tasks) {
     reader.open();
     reader.pre();
   }
 }
예제 #2
0
 @Override
 protected void post() {
   for (DataReader<O> reader : tasks) {
     reader.post();
     reader.close();
   }
 }
예제 #3
0
 @Override
 protected List<O> execute(DataReader<O> reader, List<Object> ignored) {
   List<O> read = reader.read(batchSize);
   return read;
 }