org.springframework.batch.core.step.item

## Interface ChunkProvider<T>

- All Known Implementing Classes:
    FaultTolerantChunkProvider, JsrChunkProvider, SimpleChunkProvider

      public interface ChunkProvider<T>

  Interface for providing `Chunk`s to be processed, used by the `ChunkOrientedTasklet`
  Since:
    2.0
  See Also:
    `ChunkOrientedTasklet`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `postProcess(StepContribution contribution, Chunk<T> chunk)`
    `Chunk<T>` | `provide(StepContribution contribution)`

- - ### Method Detail

    - #### provide

          Chunk<T> provide(StepContribution contribution)
                    throws java.lang.Exception

      Throws:
        `java.lang.Exception`

    - #### postProcess

          void postProcess(StepContribution contribution,
                           Chunk<T> chunk)