Package org.springframework.batch.core.step.item

# Interface ChunkProvider<T>

All Known Implementing Classes:
  `FaultTolerantChunkProvider`, `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

  Modifier and Type
  Method
  Description
  `void`
  `postProcess(StepContribution contribution, Chunk<T> chunk)`
  `Chunk<T>`
  `provide(StepContribution contribution)`

- ## Method Details

  - ### provide

    Chunk<T> provide(StepContribution contribution) throws Exception
    Throws:
      `Exception`

  - ### postProcess

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