@Override protected void post() { for (DataWriter<I> writer : tasks) { writer.post(); writer.close(); } }
@Override protected void pre() { for (DataWriter<I> writer : tasks) { writer.open(); writer.pre(); } }
@Override protected List<Object> execute(DataWriter<I> writer, List<I> batch) { writer.write(batch); return SINGLETON_LIST; }