Class RandomDocumentMessageProducerFactory

java.lang.Object
org.nuxeo.importer.stream.producer.RandomDocumentMessageProducerFactory
All Implemented Interfaces:
ProducerFactory<DocumentMessage>

public class RandomDocumentMessageProducerFactory extends Object implements ProducerFactory<DocumentMessage>
Since:
9.1
  • Field Details

    • nbDocuments

      protected final long nbDocuments
    • lang

      protected final String lang
    • blobSizeKb

      protected final int blobSizeKb
    • manager

      protected final LogManager manager
    • logName

      protected final String logName
    • countFolderAsDocument

      protected final boolean countFolderAsDocument
  • Constructor Details

    • RandomDocumentMessageProducerFactory

      public RandomDocumentMessageProducerFactory(long nbDocuments, String lang, int blobSizeKb)
    • RandomDocumentMessageProducerFactory

      public RandomDocumentMessageProducerFactory(long nbDocuments, String lang, int blobSizeKb, Boolean countFolderAsDocument)
      Generates random document messages that contains random blob.
    • RandomDocumentMessageProducerFactory

      public RandomDocumentMessageProducerFactory(long nbDocuments, String lang, LogManager manager, String logBlobInfoName, Boolean countFolderAsDocument)
      Generates random documents messages that point to existing blobs.
    • RandomDocumentMessageProducerFactory

      public RandomDocumentMessageProducerFactory(long nbDocuments, String lang, LogManager manager, String logBlobInfoName)
  • Method Details