Package org.springframework.batch.core.step.item
@NonNullApi
package org.springframework.batch.core.step.item
Specific implementations of step concerns for item-oriented approach.
- Author:
- Michael Minella, Mahmoud Ben Hassine
-
ClassDescriptionA special purpose retry template that deals specifically with multi-valued stateful retry.Manage the offset data between the last successful commit and updates made to an input chunk.A
Taskletimplementing variations on read-process-write item handling.Interface defined for processingChunks.Interface for providingChunks to be processed, used by theChunkOrientedTaskletDefault implementation of theItemListenerSupportclass that writes all exceptions via commons logging.FaultTolerant implementation of theChunkProcessorinterface, that allows for skipping or retry of items that cause exceptions during writing.FaultTolerant implementation of theChunkProviderinterface, that allows for skipping or retry of items that cause exceptions during reading or processing.Fatal exception to be thrown when a rollback must be forced, typically after catching an exception that otherwise would not cause a rollback.Interface for defining keys to uniquely identify items. this can be useful if the item itself cannot be modified to properly override equals.SimpleChunkProcessor<I,O> Simple implementation of theChunkProcessorinterface that handles basic item writing and processing.Simple implementation of the ChunkProvider interface that does basic chunk providing from anItemReader.AnExceptionHandlerthat is aware of the retry context so that it can distinguish between a fatal exception and one that can be retried.