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
Tasklet
implementing variations on read-process-write item handling.Interface defined for processingChunk
s.Interface for providingChunk
s to be processed, used by theChunkOrientedTasklet
Default implementation of theItemListenerSupport
class that writes all exceptions via commons logging.FaultTolerant implementation of theChunkProcessor
interface, that allows for skipping or retry of items that cause exceptions during writing.FaultTolerant implementation of theChunkProvider
interface, 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.SimpleChunkProcessor<I,O> Simple implementation of theChunkProcessor
interface that handles basic item writing and processing.Simple implementation of the ChunkProvider interface that does basic chunk providing from anItemReader
.AnExceptionHandler
that is aware of the retry context so that it can distinguish between a fatal exception and one that can be retried.