|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobExecutionDao
Data Access Object for job executions.
Method Summary | |
---|---|
List<JobExecution> |
findJobExecutions(JobInstance jobInstance)
Return all JobExecution for given JobInstance , sorted
backwards by creation order (so the first element is the most recent). |
Set<JobExecution> |
findRunningJobExecutions(String jobName)
|
JobExecution |
getJobExecution(Long executionId)
|
JobExecution |
getLastJobExecution(JobInstance jobInstance)
Find the last JobExecution to have been created for a given
JobInstance . |
void |
saveJobExecution(JobExecution jobExecution)
Save a new JobExecution. |
void |
synchronizeStatus(JobExecution jobExecution)
Because it may be possible that the status of a JobExecution is updated while running, the following method will synchronize only the status and version fields. |
void |
updateJobExecution(JobExecution jobExecution)
Update and existing JobExecution. |
Method Detail |
---|
void saveJobExecution(JobExecution jobExecution)
jobExecution
- void updateJobExecution(JobExecution jobExecution)
jobExecution
- List<JobExecution> findJobExecutions(JobInstance jobInstance)
JobExecution
for given JobInstance
, sorted
backwards by creation order (so the first element is the most recent).
JobExecution getLastJobExecution(JobInstance jobInstance)
JobExecution
to have been created for a given
JobInstance
.
jobInstance
- the JobInstance
JobExecution
to execute for this instanceSet<JobExecution> findRunningJobExecutions(String jobName)
JobExecution
that are still running (or indeterminate
state), i.e. having null end date, for the specified job name.JobExecution getJobExecution(Long executionId)
JobExecution
for given identifier.void synchronizeStatus(JobExecution jobExecution)
jobExecution
- to be updated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |