Class BatchPublisherFactoryImpl
- java.lang.Object
-
- org.forgerock.audit.events.handlers.buffering.BatchPublisherFactoryImpl
-
- All Implemented Interfaces:
BatchPublisherFactory
public final class BatchPublisherFactoryImpl extends Object implements BatchPublisherFactory
Basic batch publisher factory implementation.
-
-
Constructor Summary
Constructors Constructor Description BatchPublisherFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedBatchPublisher.Builder
newBufferedPublisher​(BatchConsumer consumer)
Provides a new instance of a buffered batch publisher.
-
-
-
Method Detail
-
newBufferedPublisher
public BufferedBatchPublisher.Builder newBufferedPublisher​(BatchConsumer consumer)
Description copied from interface:BatchPublisherFactory
Provides a new instance of a buffered batch publisher.- Specified by:
newBufferedPublisher
in interfaceBatchPublisherFactory
- Parameters:
consumer
- the batch consumer- Returns:
- builder instance used to help construct the buffered batch publisher
-
-