Java org.springframework.batch.item.support SingleItemPeekableItemReader fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.item.support SingleItemPeekableItemReader fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.item.support SingleItemPeekableItemReader.

The text is from its open source code.

Constructor

Method

voidclose()
If the delegate is an ItemStream , just pass the call on, otherwise reset the peek cache.
voidopen(ExecutionContext executionContext)
If the delegate is an ItemStream , just pass the call on, otherwise reset the peek cache.
Tpeek()
Peek at the next item, ensuring that if the delegate is an ItemStream the state is stored for the next call to #update(ExecutionContext) .
Tread()
Get the next item from the delegate (whether or not it has already been peeked at).
voidsetDelegate(ItemReader delegate)
The item reader to use as a delegate.