Package org.springframework.batch.integration.chunk
@NullMarked
package org.springframework.batch.integration.chunk
Components for remote chunking.
- Author:
- Michael Minella, Mahmoud Ben Hassine, Stefano Cordio
-
ClassDescriptionException indicating that a failure or early completion condition was detected in a remote worker.A
ChunkRequestHandlerbased on aChunkProcessor.ChunkRequest<T>Encapsulation of a chunk of items to be processed remotely as part of a step execution.Interface for a remote worker in the Remote Chunking pattern.Encapsulates a response to processing a chunk of items, summarising the result as aStepContribution.Similar toChunkMessageChannelItemWriter, this item writer submits chunk requests to local workers from aTaskExecutorinstead of sending them over a message channel to remote workers.AChannelInterceptorthat turns a pollable channel into a "pass-thru channel": if a client callsreceive()on the channel it will delegate to aMessageSourceto pull the message directly from an external source.Deprecated, for removal: This API element is subject to removal in a future version.since 6.0 with no replacement, as it is only used by the deprecated batch-integration XML namespace.Builder for a manager step in a remote chunking setup.Convenient factory for aRemoteChunkingManagerStepBuilderwhich sets theJobRepositoryandPlatformTransactionManagerautomatically.Builder for a worker in a remote chunking setup.A source ofStepContributioninstances that can be aggregated and used to update an ongoingStepExecution.