Class ChunkRequest<T>

  • Type Parameters:
    T - the type of the items to process
    All Implemented Interfaces:
    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.
    Author:
    Dave Syer
    See Also:
    Serialized Form
    • Constructor Detail

      • ChunkRequest

        public ChunkRequest​(int sequence,
                            java.util.Collection<? extends T> items,
                            long jobId,
                            StepContribution stepContribution)
    • Method Detail

      • getJobId

        public long getJobId()
      • getItems

        public java.util.Collection<? extends T> getItems()
      • getSequence

        public int getSequence()
      • toString

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