Data Access Object for job executions. More...
Public Member Functions | |
void | SaveJobExecution (JobExecution jobExecution) |
Persists a new job execution. The corresponding job instance must have been persisted. More... | |
void | UpdateJobExecution (JobExecution jobExecution) |
Updates the updates of a job execution. The job execution must have already been persisted. More... | |
IList< JobExecution > | FindJobExecutions (JobInstance jobInstance) |
Finds all the job executions for a job instance, sorted by descending creation order (the first element is the most recent). More... | |
JobExecution | GetLastJobExecution (JobInstance jobInstance) |
ISet< JobExecution > | FindRunningJobExecutions (string jobName) |
JobExecution | GetJobExecution (long executionId) |
void | SynchronizeStatus (JobExecution jobExecution) |
Persists the status and version fields of a job execution. The job execution must have already been persisted. More... | |
Detailed Description
Data Access Object for job executions.
Member Function Documentation
IList<JobExecution> Summer.Batch.Core.Repository.Dao.IJobExecutionDao.FindJobExecutions | ( | JobInstance | jobInstance | ) |
Finds all the job executions for a job instance, sorted by descending creation order (the first element is the most recent).
- Parameters
-
jobInstance a job instance
- Returns
- a list of job executions
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
ISet<JobExecution> Summer.Batch.Core.Repository.Dao.IJobExecutionDao.FindRunningJobExecutions | ( | string | jobName | ) |
- Parameters
-
jobName a job name
- Returns
- a set containing the job executions that are still runinig for the specified job name
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
JobExecution Summer.Batch.Core.Repository.Dao.IJobExecutionDao.GetJobExecution | ( | long | executionId | ) |
- Parameters
-
executionId an id for an existing job execution
- Returns
- the job execution with the given id
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
JobExecution Summer.Batch.Core.Repository.Dao.IJobExecutionDao.GetLastJobExecution | ( | JobInstance | jobInstance | ) |
- Parameters
-
jobInstance a job instance
- Returns
- the last created job execution for the job instance
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
void Summer.Batch.Core.Repository.Dao.IJobExecutionDao.SaveJobExecution | ( | JobExecution | jobExecution | ) |
Persists a new job execution. The corresponding job instance must have been persisted.
- Parameters
-
jobExecution a job execution
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
void Summer.Batch.Core.Repository.Dao.IJobExecutionDao.SynchronizeStatus | ( | JobExecution | jobExecution | ) |
Persists the status and version fields of a job execution. The job execution must have already been persisted.
- Parameters
-
jobExecution
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
void Summer.Batch.Core.Repository.Dao.IJobExecutionDao.UpdateJobExecution | ( | JobExecution | jobExecution | ) |
Updates the updates of a job execution. The job execution must have already been persisted.
- Parameters
-
jobExecution a job execution
Implemented in Summer.Batch.Core.Repository.Dao.DbJobExecutionDao, and Summer.Batch.Core.Repository.Dao.MapJobExecutionDao.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Repository/Dao/IJobExecutionDao.cs