Class ChunkRequest<T>

java.lang.Object
org.springframework.batch.integration.chunk.ChunkRequest<T>
Type Parameters:
T - the type of the items to process
All Implemented Interfaces:
Serializable

public class ChunkRequest<T> extends Object implements Serializable
Encapsulation of a chunk of items to be processed remotely as part of a step execution.
Author:
Dave Syer, Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • ChunkRequest

      public ChunkRequest(int sequence, org.springframework.batch.item.Chunk<? extends T> items, long jobId, StepContribution stepContribution)
  • Method Details

    • getJobId

      public long getJobId()
    • getItems

      public org.springframework.batch.item.Chunk<? extends T> getItems()
    • getSequence

      public int getSequence()
    • getStepContribution

      public StepContribution getStepContribution()
      Returns:
      the StepContribution for this chunk
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also: