Class ChunkResponse
java.lang.Object
org.springframework.batch.integration.chunk.ChunkResponse
- All Implemented Interfaces:
Serializable
Encapsulates a response to processing a chunk of items, summarising the result as a
StepContribution
.- Author:
- Dave Syer, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution) ChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message) ChunkResponse
(boolean status, int sequence, Long jobId, StepContribution stepContribution, String message, boolean redelivered) ChunkResponse
(int sequence, Long jobId, StepContribution stepContribution) ChunkResponse
(ChunkResponse input, boolean redelivered) -
Method Summary
-
Constructor Details
-
ChunkResponse
-
ChunkResponse
-
ChunkResponse
public ChunkResponse(boolean status, int sequence, Long jobId, StepContribution stepContribution, @Nullable String message) -
ChunkResponse
-
ChunkResponse
public ChunkResponse(boolean status, int sequence, Long jobId, StepContribution stepContribution, @Nullable String message, boolean redelivered)
-
-
Method Details