Class FileBlobMessageProducerFactory
- java.lang.Object
-
- org.nuxeo.importer.stream.producer.FileBlobMessageProducerFactory
-
- All Implemented Interfaces:
ProducerFactory<BlobMessage>
public class FileBlobMessageProducerFactory extends Object implements ProducerFactory<BlobMessage>
- Since:
- 9.1
-
-
Constructor Summary
Constructors Constructor Description FileBlobMessageProducerFactory(File listFile, String basePath, long nbBlobs)
Produce messages to import files listed in the listFile.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProducerIterator<BlobMessage>
createProducer(int producerId)
-
-
-
Method Detail
-
createProducer
public ProducerIterator<BlobMessage> createProducer(int producerId)
- Specified by:
createProducer
in interfaceProducerFactory<BlobMessage>
- Parameters:
producerId
- the producer index
-
-