Enum DefaultParallelExecutionConfigurationStrategy

    • Field Detail

      • CONFIG_STRATEGY_PROPERTY_NAME

        public static final String CONFIG_STRATEGY_PROPERTY_NAME
        Property name used to determine the desired configuration strategy.

        Value must be one of dynamic, fixed, or custom.

        See Also:
        Constant Field Values
      • CONFIG_FIXED_PARALLELISM_PROPERTY_NAME

        public static final String CONFIG_FIXED_PARALLELISM_PROPERTY_NAME
        Property name used to determine the desired parallelism for the FIXED configuration strategy.

        No default value; must be an integer.

        See Also:
        FIXED, Constant Field Values
      • CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME

        public static final String CONFIG_DYNAMIC_FACTOR_PROPERTY_NAME
        Property name of the factor used to determine the desired parallelism for the DYNAMIC configuration strategy.

        Value must be a decimal number; defaults to 1.

        See Also:
        DYNAMIC, Constant Field Values
    • Method Detail

      • values

        public static DefaultParallelExecutionConfigurationStrategy[] 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 (DefaultParallelExecutionConfigurationStrategy c : DefaultParallelExecutionConfigurationStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DefaultParallelExecutionConfigurationStrategy 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