类 AbstractPartitionHandler

    • 方法详细资料

      • doHandle

        protected abstract java.util.Set<StepExecutiondoHandle​(StepExecution masterStepExecution,
                                                                 java.util.Set<StepExecution> partitionStepExecutions)
                                                          throws java.lang.Exception
        Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.
        参数:
        masterStepExecution - the whole partition execution
        partitionStepExecutions - the StepExecution instances to execute
        返回:
        an updated view of these completed StepExecution instances
        抛出:
        java.lang.Exception - if anything goes wrong. This allows implementations to be liberal and rely on the caller to translate an exception into a step failure as necessary.
      • getGridSize

        public int getGridSize()
        Returns the number of step executions.
        返回:
        the number of step executions