Example usage for Java org.springframework.batch.core.step.item Chunk fields, constructors, methods, implement or subclass
The text is from its open source code.
void | add(W item) Add the item to the chunk. |
void | clearSkips() Clear only the skips list. |
List | getItems() |
List | getSkips() |
Object | getUserData() |
boolean | isBusy() Query the chunk to see if anyone has registered an interest in keeping a reference to it. |
boolean | isEmpty() |
boolean | isEnd() Flag to indicate if the source data is exhausted. |
ChunkIterator | iterator() Get an unmodifiable iterator for the underlying items. |
void | setBusy(boolean busy) Register an interest in the chunk to prevent it from being cleaned up before the flag is reset to false. |
void | setEnd() Set the flag to say that this chunk represents an end of stream (there is no more data to process). |
void | setUserData(Object userData) |
int | size() |
void | skip(Exception e) Register an anonymous skip. |