public interface SearchableJobExecutionDao
extends org.springframework.batch.core.repository.dao.JobExecutionDao
Modifier and Type | Method and Description |
---|---|
int |
countJobExecutions() |
int |
countJobExecutions(String jobName) |
List<org.springframework.batch.core.JobExecution> |
getJobExecutions(int start,
int count)
Get the
JobExecutions in reverse order of creation
(so normally of execution). |
List<org.springframework.batch.core.JobExecution> |
getJobExecutions(String jobName,
int start,
int count)
Get the
JobExecutions for a specific job name in
reverse order of creation (so normally of execution). |
Collection<org.springframework.batch.core.JobExecution> |
getRunningJobExecutions()
Find all the running executions (status less than STOPPING).
|
int countJobExecutions()
JobExecution
instancesList<org.springframework.batch.core.JobExecution> getJobExecutions(String jobName, int start, int count)
JobExecutions
for a specific job name in
reverse order of creation (so normally of execution).jobName
- the name of the jobstart
- the start index of the instancescount
- the maximum number of instances to returnJobExecution
instances requestedList<org.springframework.batch.core.JobExecution> getJobExecutions(int start, int count)
JobExecutions
in reverse order of creation
(so normally of execution).start
- the start index of the instancescount
- the maximum number of instances to returnJobExecution
instances requestedint countJobExecutions(String jobName)
jobName
- the name of a jobJobExecutions
belonging to
this jobCollection<org.springframework.batch.core.JobExecution> getRunningJobExecutions()
JobExecution
instances that are currently runningCopyright © 2015. All rights reserved.