接口 ExecutionContextDao

    • 方法详细资料

      • saveExecutionContext

        void saveExecutionContext​(JobExecution jobExecution)
        Persist the execution context associated with the given jobExecution, persistent entry for the context should not exist yet.
        参数:
        jobExecution - JobExecution instance that contains the context.
      • saveExecutionContext

        void saveExecutionContext​(StepExecution stepExecution)
        Persist the execution context associated with the given stepExecution, persistent entry for the context should not exist yet.
        参数:
        stepExecution - StepExecution instance that contains the context.
      • saveExecutionContexts

        void saveExecutionContexts​(java.util.Collection<StepExecution> stepExecutions)
        Persist the execution context associated with each stepExecution in a given collection, persistent entry for the context should not exist yet.
        参数:
        stepExecutions - a collection of StepExecutions that contain the contexts.
      • updateExecutionContext

        void updateExecutionContext​(JobExecution jobExecution)
        Persist the updates of execution context associated with the given jobExecution. Persistent entry should already exist for this context.
        参数:
        jobExecution - JobExecution instance that contains the context.
      • updateExecutionContext

        void updateExecutionContext​(StepExecution stepExecution)
        Persist the updates of execution context associated with the given stepExecution. Persistent entry should already exist for this context.
        参数:
        stepExecution - StepExecution instance that contains the context.