类 DynamicFork

    • 构造器详细资料

      • DynamicFork

        public DynamicFork​(String taskReferenceName,
                           String forkTasksParameter,
                           String forkTasksInputsParameter)
        Dynamic fork task that executes a set of tasks in parallel which are determined at run time. Use cases: Based on the input, you want to fork N number of processes in parallel to be executed. The number N is not pre-determined at the definition time and so a regular ForkJoin cannot be used.
        参数:
        taskReferenceName -
      • DynamicFork

        public DynamicFork​(String taskReferenceName,
                           SimpleTask forkPrepareTask)
        Dynamic fork task that executes a set of tasks in parallel which are determined at run time. Use cases: Based on the input, you want to fork N number of processes in parallel to be executed. The number N is not pre-determined at the definition time and so a regular ForkJoin cannot be used.
        参数:
        taskReferenceName -
        forkPrepareTask - A Task that produces the output as DynamicForkInput to specify which tasks to fork.