Uses of Class
org.springframework.batch.item.Chunk
Packages that use Chunk
Package
Description
Generic implementations of core batch listener interfaces.
Specific implementations of step concerns for item-oriented approach.
Components for executing item processing asynchronously and writing the results when
processing is complete.
Components for remote chunking.
Infrastructure interfaces and primary dependencies for item concerns.
Adapters for Plain Old Java Objects.
AMQP related batch components.
Avro related reader and writer.
Spring Data related readers and writers.
Infrastructure implementations of database based item readers and writers.
Infrastructure implementations of io file concerns.
Adapters for
java.util.function components.JMS based reader/writer and related components.
Infrastructure implementations of JSON input and output.
Java Mail based components.
JavaMail related components.
Internal support package
Infrastructure implementations of xml input and output.
-
Uses of Chunk in org.springframework.batch.core.listener
Methods in org.springframework.batch.core.listener with parameters of type ChunkModifier and TypeMethodDescriptiondefault voidChunkListener.afterChunk(Chunk<O> chunk) Callback after the chunk is written, inside the transaction.voidCompositeChunkListener.afterChunk(Chunk chunk) Call the registered listeners in reverse order.voidCompositeItemWriteListener.afterWrite(Chunk<? extends S> items) Call the registered listeners in reverse order, respecting and prioritising those that implementOrdered.default voidItemWriteListener.afterWrite(Chunk<? extends S> items) Called afterItemWriter.write(Chunk).voidMulticasterBatchListener.afterWrite(Chunk<? extends S> items) default voidChunkListener.beforeChunk(Chunk<I> chunk) Callback before the chunk is processed, inside the transaction.voidCompositeChunkListener.beforeChunk(Chunk chunk) Call the registered listeners in order, respecting and prioritizing those that implementOrdered.voidCompositeItemWriteListener.beforeWrite(Chunk<? extends S> items) Call the registered listeners in order, respecting and prioritising those that implementOrdered.default voidItemWriteListener.beforeWrite(Chunk<? extends S> items) Called beforeItemWriter.write(Chunk)voidMulticasterBatchListener.beforeWrite(Chunk<? extends S> items) default voidChunkListener.onChunkError(Exception exception, Chunk<O> chunk) Callback if an exception occurs while processing or writing a chunk, inside the transaction, which is about to be rolled back.voidCompositeChunkListener.onChunkError(Exception exception, Chunk chunk) Call the registered listeners in reverse order.voidCompositeItemWriteListener.onWriteError(Exception ex, Chunk<? extends S> items) Call the registered listeners in reverse order, respecting and prioritising those that implementOrdered.default voidItemWriteListener.onWriteError(Exception exception, Chunk<? extends S> items) Called if an error occurs while trying to write.voidMulticasterBatchListener.onWriteError(Exception ex, Chunk<? extends S> items) -
Uses of Chunk in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item that return ChunkModifier and TypeMethodDescriptionFaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.Extension point for subclasses that want to adjust the outputs based on additional saved data in the inputs.ChunkProvider.provide(StepContribution contribution) Deprecated, for removal: This API element is subject to removal in a future version.SimpleChunkProvider.provide(StepContribution contribution) Deprecated, for removal: This API element is subject to removal in a future version.FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.springframework.batch.core.step.item with parameters of type ChunkModifier and TypeMethodDescriptionprotected final voidSimpleChunkProcessor.doAfterWrite(Chunk<O> items) Deprecated, for removal: This API element is subject to removal in a future version.Call the listener's after write method.protected final voidSimpleChunkProcessor.doOnWriteError(Exception e, Chunk<O> items) Deprecated, for removal: This API element is subject to removal in a future version.Call listener's writerError method.protected final voidDeprecated, for removal: This API element is subject to removal in a future version.Surrounds the actual write call with listener callbacks.FaultTolerantChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.SimpleChunkProcessor.getAdjustedOutputs(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.Extension point for subclasses that want to adjust the outputs based on additional saved data in the inputs.protected intFaultTolerantChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.protected intSimpleChunkProcessor.getFilterCount(Chunk<I> inputs, Chunk<O> outputs) Deprecated, for removal: This API element is subject to removal in a future version.Extension point for subclasses to calculate the filter count.protected voidFaultTolerantChunkProcessor.initializeUserData(Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.protected voidSimpleChunkProcessor.initializeUserData(Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.Extension point for subclasses to allow them to memorise the contents of the inputs, in case they are needed for accounting purposes later.protected booleanFaultTolerantChunkProcessor.isComplete(Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanSimpleChunkProcessor.isComplete(Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.Extension point for subclasses that want to store additional data in the inputs.voidDefaultItemFailureHandler.onWriteError(Exception ex, Chunk<?> item) Deprecated, for removal: This API element is subject to removal in a future version.voidChunkProvider.postProcess(StepContribution contribution, Chunk<T> chunk) Deprecated, for removal: This API element is subject to removal in a future version.voidFaultTolerantChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) Deprecated, for removal: This API element is subject to removal in a future version.voidSimpleChunkProvider.postProcess(StepContribution contribution, Chunk<I> chunk) Deprecated, for removal: This API element is subject to removal in a future version.voidChunkProcessor.process(StepContribution contribution, Chunk<I> chunk) Deprecated, for removal: This API element is subject to removal in a future version.final voidSimpleChunkProcessor.process(StepContribution contribution, Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.protected IFaultTolerantChunkProvider.read(StepContribution contribution, Chunk<I> chunk) Deprecated, for removal: This API element is subject to removal in a future version.protected ISimpleChunkProvider.read(StepContribution contribution, Chunk<I> chunk) Deprecated, for removal: This API element is subject to removal in a future version.Delegates toSimpleChunkProvider.doRead().FaultTolerantChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.SimpleChunkProcessor.transform(StepContribution contribution, Chunk<I> inputs) Deprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.protected voidDeprecated, for removal: This API element is subject to removal in a future version.Simple implementation delegates to theSimpleChunkProcessor.doWrite(Chunk)method and increments the write count in the contribution.protected voidSimpleChunkProcessor.writeItems(Chunk<O> items) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Chunk in org.springframework.batch.integration.async
Methods in org.springframework.batch.integration.async with parameters of type ChunkModifier and TypeMethodDescriptionvoidIn the processing of theFutures passed, nulls are not passed to the delegate since they are considered filtered out by theAsyncItemProcessor's delegatedItemProcessor. -
Uses of Chunk in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk that return ChunkMethods in org.springframework.batch.integration.chunk with parameters of type ChunkModifier and TypeMethodDescription<T> ChunkRequest<T>ChunkMessageChannelItemWriter.LocalState.getRequest(Chunk<? extends T> items) voidConstructors in org.springframework.batch.integration.chunk with parameters of type ChunkModifierConstructorDescriptionChunkRequest(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) -
Uses of Chunk in org.springframework.batch.item
Methods in org.springframework.batch.item that return ChunkMethods in org.springframework.batch.item with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.adapter
Methods in org.springframework.batch.item.adapter with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.amqp
Methods in org.springframework.batch.item.amqp with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.avro
Methods in org.springframework.batch.item.avro with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.data
Methods in org.springframework.batch.item.data with parameters of type ChunkModifier and TypeMethodDescriptionprotected voidPerforms the actual write to the store via the template.protected voidPerforms the actual write to the repository.voidIf a transaction is active, buffer items to be written just before commit.voidWrite all items to the data store via a Spring Data repository. -
Uses of Chunk in org.springframework.batch.item.database
Methods in org.springframework.batch.item.database with parameters of type ChunkModifier and TypeMethodDescriptionprotected voidDo perform the actual write operation.voidvoidMerge all provided items that aren't already in the persistence context and then flush the entity manager. -
Uses of Chunk in org.springframework.batch.item.file
Methods in org.springframework.batch.item.file with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.function
Methods in org.springframework.batch.item.function with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.jms
Methods in org.springframework.batch.item.jms with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.json
Methods in org.springframework.batch.item.json with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.mail
Methods in org.springframework.batch.item.mail with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.mail.javamail
Methods in org.springframework.batch.item.mail.javamail with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.queue
Methods in org.springframework.batch.item.queue with parameters of type Chunk -
Uses of Chunk in org.springframework.batch.item.support
Methods in org.springframework.batch.item.support with parameters of type ChunkModifier and TypeMethodDescriptionprotected abstract StringWrite out a string of items followed by a "new line", where the format of the new line separator is determined by the underlying operating system.voidWrites out a string followed by a "new line", where the format of the new line separator is determined by the underlying operating system.voidDelegates to injectedItemWriterinstances according to their classification by theClassifier.voidvoidvoidThis method delegates to thewritemethod of thedelegate.voidThis method delegates to thewritemethod of the delegate and is synchronized with a lock. -
Uses of Chunk in org.springframework.batch.item.xml
Methods in org.springframework.batch.item.xml with parameters of type Chunk