Class ChunkMonitor

java.lang.Object
org.springframework.batch.item.ItemStreamSupport
org.springframework.batch.core.step.item.ChunkMonitor
All Implemented Interfaces:
ItemStream

public class ChunkMonitor extends ItemStreamSupport
Manage the offset data between the last successful commit and updates made to an input chunk. Only works with single threaded steps because it has to use a ThreadLocal to manage the state and coordinate between the caller and the wrapped ItemStream.
Since:
2.0
Author:
Dave Syer, Mahmoud Ben Hassine