Enum DslCsvDataSet.Sharing

    • Enum Constant Detail

      • ALL_THREADS

        public static final DslCsvDataSet.Sharing ALL_THREADS
        All threads in the test plan will share the CSV file, meaning that any thread iteration will consume an entry from it. You can think as having only one pointer to the current line of the CSV, being advanced by any thread iteration. The file is only opened once.
      • THREAD_GROUP

        public static final DslCsvDataSet.Sharing THREAD_GROUP
        CSV file consumption is only shared within thread groups. This means that threads in separate thread groups will use separate indexes to consume the data. The file is open once per thread group.
      • THREAD

        public static final DslCsvDataSet.Sharing THREAD
        CSV file consumption is isolated per thread. This means that each thread will start consuming the CSV from the beginning and not share any information with other threads. The file is open once per thread.
    • Method Detail

      • values

        public static DslCsvDataSet.Sharing[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DslCsvDataSet.Sharing c : DslCsvDataSet.Sharing.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DslCsvDataSet.Sharing valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null