Class BlockingQueueItemWriterBuilder<T>
java.lang.Object
org.springframework.batch.item.queue.builder.BlockingQueueItemWriterBuilder<T>
- Type Parameters:
T
- type of items to write
Builder for a
BlockingQueueItemWriter
.- Since:
- 5.2.0
- Author:
- Mahmoud Ben Hassine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a configuredBlockingQueueItemWriter
.queue
(BlockingQueue<T> queue) Create a newBlockingQueueItemWriterBuilder
-
Constructor Details
-
BlockingQueueItemWriterBuilder
public BlockingQueueItemWriterBuilder()
-
-
Method Details
-
queue
Create a newBlockingQueueItemWriterBuilder
- Parameters:
queue
- the queue to write items to- Returns:
- this instance of the builder
-
build
Create a configuredBlockingQueueItemWriter
.- Returns:
- a configured
BlockingQueueItemWriter
.
-