类 ChunkRequest<T>
- java.lang.Object
- org.springframework.batch.integration.chunk.ChunkRequest<T>
- 类型参数:
T
- the type of the items to process
- 所有已实现的接口:
java.io.Serializable
public class ChunkRequest<T> extends java.lang.Object implements java.io.Serializable
Encapsulation of a chunk of items to be processed remotely as part of a step execution.- 作者:
- Dave Syer
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 ChunkRequest(int sequence, java.util.Collection<? extends T> items, long jobId, StepContribution stepContribution)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.util.Collection<? extends T>
getItems()
long
getJobId()
int
getSequence()
StepContribution
getStepContribution()
java.lang.String
toString()
构造器详细资料
ChunkRequest
public ChunkRequest(int sequence, java.util.Collection<? extends T> items, long jobId, StepContribution stepContribution)
方法详细资料
getJobId
public long getJobId()
getSequence
public int getSequence()
getStepContribution
public StepContribution getStepContribution()
- 返回:
- the
StepContribution
for this chunk
toString
public java.lang.String toString()
- 覆盖:
toString
在类中java.lang.Object
- 另请参阅:
Object.toString()