Class RandomTextSourceNode

  • All Implemented Interfaces:
    SourceNode

    public class RandomTextSourceNode
    extends Object
    implements SourceNode
    Random SourceNode to be used for load testing
    Author:
    Thierry Delprat
    • Field Detail

      • maxNode

        protected static int maxNode
      • DEFAULT_NB_DATA_NODES_PER_FOLDER

        public static final int DEFAULT_NB_DATA_NODES_PER_FOLDER
        See Also:
        Constant Field Values
      • minGlobalFolders

        protected static int minGlobalFolders
      • minFoldersPerNode

        protected static int minFoldersPerNode
      • nbVisitedFolders

        protected static AtomicInteger nbVisitedFolders
      • RANDOM

        protected static final Random RANDOM
      • folderish

        protected boolean folderish
      • level

        protected int level
      • idx

        protected int idx
      • blobSizeInKB

        protected static Integer blobSizeInKB
      • onlyText

        protected boolean onlyText
      • withProperties

        protected boolean withProperties
      • 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
    • Constructor Detail

      • RandomTextSourceNode

        public RandomTextSourceNode​(boolean folderish,
                                    int level,
                                    int idx,
                                    boolean onlyText,
                                    boolean withProperties)
      • RandomTextSourceNode

        public RandomTextSourceNode​(boolean folderish,
                                    int level,
                                    int idx,
                                    boolean onlyText)