Interface BatchPublisherFactory
-
- All Known Implementing Classes:
BatchPublisherFactoryImpl
public interface BatchPublisherFactory
Batch publisher factory provides new instances ofBatchPublisher
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferedBatchPublisher.Builder
newBufferedPublisher(BatchConsumer consumer)
Provides a new instance of a buffered batch publisher.
-
-
-
Method Detail
-
newBufferedPublisher
BufferedBatchPublisher.Builder newBufferedPublisher(BatchConsumer consumer)
Provides a new instance of a buffered batch publisher.- Parameters:
consumer
- the batch consumer- Returns:
- builder instance used to help construct the buffered batch publisher
-
-