Java org.springframework.batch.core.step.item Chunk fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core.step.item Chunk fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core.step.item Chunk.

The text is from its open source code.

Constructor

Method

voidadd(W item)
Add the item to the chunk.
voidclearSkips()
Clear only the skips list.
ListgetItems()
List>getSkips()
ObjectgetUserData()
booleanisBusy()
Query the chunk to see if anyone has registered an interest in keeping a reference to it.
booleanisEmpty()
booleanisEnd()
Flag to indicate if the source data is exhausted.
ChunkIteratoriterator()
Get an unmodifiable iterator for the underlying items.
voidsetBusy(boolean busy)
Register an interest in the chunk to prevent it from being cleaned up before the flag is reset to false.
voidsetEnd()
Set the flag to say that this chunk represents an end of stream (there is no more data to process).
voidsetUserData(Object userData)
intsize()
voidskip(Exception e)
Register an anonymous skip.