OPEN - BATCH-803: Add non-buffering ChunkOrientedTasklet (or option in existing one) plus flag for factory bean

javadoc
This commit is contained in:
robokaso
2008-09-17 11:27:35 +00:00
parent b940791bef
commit 58e4c5effe

View File

@@ -15,9 +15,9 @@ import org.springframework.batch.repeat.RepeatOperations;
import org.springframework.core.AttributeAccessor;
/**
* Simplest possible implementation of {@link Tasklet} with no skipping or
* recovering. Just delegates all calls to the provided {@link ItemReader} and
* {@link ItemWriter}.
* Simplest possible implementation of chunk-oriented {@link Tasklet} with no
* skipping or recovering. Just delegates all calls to the provided
* {@link ItemReader}, {@link ItemProcessor} and {@link ItemWriter}.
*
* @author Dave Syer
* @author Robert Kasanicky
@@ -67,9 +67,7 @@ public class SimpleChunkOrientedTasklet<I, O> extends AbstractItemOrientedTaskle
}
}
contribution.incrementFilterCount(inputs.size() - outputs.size());
// TODO: use ItemWriter interface properly
// TODO: make sure exceptions get handled by the appropriate handler
doWrite(outputs);
contribution.incrementWriteCount(outputs.size());