Class CheckpointSupport

  • All Implemented Interfaces:
    ItemStream
    Direct Known Subclasses:
    ItemReaderAdapter, ItemWriterAdapter

    public abstract class CheckpointSupport
    extends ItemStreamSupport
    Provides support for JSR-352 checkpointing. Checkpoint objects are copied prior to being added to the ExecutionContext for persistence by the framework. If the checkpoint object cannot be copied and further changes occur to the same instance, side effects may occur. In cases like this, it is recommended that a copy of the object being acted upon in the reader/writer is returned via the ItemReader.checkpointInfo() or ItemWriter.checkpointInfo() calls.
    Since:
    3.0
    Author:
    Michael Minella