Class SynchronizedItemReaderBuilder<T>
java.lang.Object
org.springframework.batch.item.support.builder.SynchronizedItemReaderBuilder<T>
Builder for
SynchronizedItemReader
.- Since:
- 5.1.0
- Author:
- Mahmoud Ben Hassine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newSynchronizedItemReader
.delegate
(ItemReader<T> delegate) The item reader to use as a delegate.
-
Constructor Details
-
SynchronizedItemReaderBuilder
public SynchronizedItemReaderBuilder()
-
-
Method Details
-
delegate
The item reader to use as a delegate.- Parameters:
delegate
- the delegate reader to set- Returns:
- this instance for method chaining
-
build
Returns a newSynchronizedItemReader
.- Returns:
- a new
SynchronizedItemReader
-