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