Uses of Class
org.springframework.batch.core.scope.context.ChunkContext
Packages that use ChunkContext
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Generic implementations of core batch listener interfaces.
Implementation of the contexts for each of the custom bean scopes in Spring Batch (Job
and Step).
Specific implementations of step concerns for item-oriented approach.
Interfaces and generic implementations of tasklet concerns.
-
Uses of ChunkContext in org.springframework.batch.core
Methods in org.springframework.batch.core with parameters of type ChunkContextModifier and TypeMethodDescriptiondefault voidChunkListener.afterChunk(ChunkContext context) Callback after the chunk is executed, outside the transaction.default voidChunkListener.afterChunkError(ChunkContext context) Callback after a chunk has been marked for rollback.default voidChunkListener.beforeChunk(ChunkContext context) Callback before the chunk is executed, but inside the transaction. -
Uses of ChunkContext in org.springframework.batch.core.listener
Methods in org.springframework.batch.core.listener with parameters of type ChunkContextModifier and TypeMethodDescriptionvoidChunkListenerSupport.afterChunk(ChunkContext context) Deprecated.voidCompositeChunkListener.afterChunk(ChunkContext context) Call the registered listeners in reverse order.voidMulticasterBatchListener.afterChunk(ChunkContext context) voidChunkListenerSupport.afterChunkError(ChunkContext context) Deprecated.voidCompositeChunkListener.afterChunkError(ChunkContext context) Call the registered listeners in reverse order.voidMulticasterBatchListener.afterChunkError(ChunkContext context) voidChunkListenerSupport.beforeChunk(ChunkContext context) Deprecated.voidCompositeChunkListener.beforeChunk(ChunkContext context) Call the registered listeners in order, respecting and prioritizing those that implementOrdered.voidMulticasterBatchListener.beforeChunk(ChunkContext context) -
Uses of ChunkContext in org.springframework.batch.core.scope.context
Methods in org.springframework.batch.core.scope.context with parameters of type ChunkContextModifier and TypeMethodDescriptionabstract RepeatStatusStepContextRepeatCallback.doInChunkContext(RepeatContext context, ChunkContext chunkContext) Do the work required for this chunk of the step. -
Uses of ChunkContext in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item with parameters of type ChunkContextModifier and TypeMethodDescriptionChunkOrientedTasklet.execute(StepContribution contribution, ChunkContext chunkContext) -
Uses of ChunkContext in org.springframework.batch.core.step.tasklet
Methods in org.springframework.batch.core.step.tasklet with parameters of type ChunkContextModifier and TypeMethodDescriptionCallableTaskletAdapter.execute(StepContribution contribution, ChunkContext chunkContext) Execute the provided Callable and return itsRepeatStatus.MethodInvokingTaskletAdapter.execute(StepContribution contribution, ChunkContext chunkContext) Delegate execution to the target object and translate the return value to anExitStatusby invoking a method in the delegate POJO.SystemCommandTasklet.execute(StepContribution contribution, ChunkContext chunkContext) Execute system command and map its exit code toExitStatususingSystemProcessExitCodeMapper.Tasklet.execute(StepContribution contribution, ChunkContext chunkContext) Given the current context in the form of a step contribution, do whatever is necessary to process this unit inside a transaction.