java.lang.Object
org.springframework.cloud.task.batch.listener.support.MapTaskBatchDao
All Implemented Interfaces:
TaskBatchDao

public class MapTaskBatchDao extends Object implements TaskBatchDao
Map implementation of the TaskBatchDao.

This is intended for testing purposes only!

Author:
Michael Minella
  • Constructor Details

    • MapTaskBatchDao

      public MapTaskBatchDao(Map<Long,Set<Long>> relationships)
  • Method Details

    • saveRelationship

      public void saveRelationship(TaskExecution taskExecution, org.springframework.batch.core.JobExecution jobExecution)
      Description copied from interface: TaskBatchDao
      Saves the relationship between a task execution and a job execution.
      Specified by:
      saveRelationship in interface TaskBatchDao
      Parameters:
      taskExecution - task execution
      jobExecution - job execution