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
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 SummaryConstructorsConstructorDescriptionChunkRequest(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) 
- 
Method Summary
- 
Constructor Details- 
ChunkRequestpublic ChunkRequest(int sequence, Chunk<? extends T> items, long jobId, StepContribution stepContribution) 
 
- 
- 
Method Details- 
getJobIdpublic long getJobId()
- 
getItems
- 
getSequencepublic int getSequence()
- 
getStepContribution- Returns:
- the StepContributionfor this chunk
 
- 
toString
 
-