BATCH-220: Moved transactional boundary within ChunkedStep to include both 'Chunking' and 'Dechunking'

This commit is contained in:
lucasward
2008-02-15 23:30:30 +00:00
parent 1b1bf33931
commit 469203f1b6

View File

@@ -38,13 +38,4 @@ public interface Chunker {
*/
public ChunkingResult chunk(int chunkSize, StepExecution stepExecution) throws ReadFailureException;
/**
* Flush any chunks that may be buffered. Because it may be advantageous to buffer chunks in case of
* failures, calling this method should flush any that are stored, however, it is not a requirement
* of the interface that it be implementated.
*
* @param stepExecution
*/
public void flush(Entity stepExecution);
}