Class RandomDocumentMessageProducer

    • Field Detail

      • nbDocuments

        protected final long nbDocuments
      • countFolderAsDocument

        protected boolean countFolderAsDocument
      • maxFoldersPerFolder

        protected int maxFoldersPerFolder
      • maxDocumentsPerFolder

        protected int maxDocumentsPerFolder
      • blobSizeKB

        protected int blobSizeKB
      • blobOnlyText

        protected boolean blobOnlyText
      • documentCount

        protected int documentCount
      • folderCount

        protected int folderCount
      • rand

        protected final Random rand
      • DC_NATURE

        protected static final String[] DC_NATURE
      • DC_SUBJECTS

        protected static final String[] DC_SUBJECTS
      • DC_RIGHTS

        protected static final String[] DC_RIGHTS
      • DC_LANGUAGE

        protected static final String[] DC_LANGUAGE
      • DC_SOURCE

        protected static final String[] DC_SOURCE
      • DC_COVERAGE

        protected static final String[] DC_COVERAGE
      • foldersInCurrentFolderLimit

        protected int foldersInCurrentFolderLimit
      • documentInCurrentFolderLimit

        protected int documentInCurrentFolderLimit
      • parentIndex

        protected int parentIndex
      • folderishChildren

        protected List<String> folderishChildren
      • documentInCurrentFolderCount

        protected int documentInCurrentFolderCount
    • Constructor Detail

      • RandomDocumentMessageProducer

        public RandomDocumentMessageProducer​(int producerId,
                                             long nbDocuments,
                                             String lang,
                                             BlobInfoFetcher blobInfoFetcher)