public interface SearchableJobExecutionDao
extends org.springframework.batch.core.repository.dao.JobExecutionDao
Modifier and Type | Method and Description |
---|---|
int |
countJobExecutions() |
int |
countJobExecutions(org.springframework.batch.core.BatchStatus status)
Gets count of job executions.
|
int |
countJobExecutions(String jobName)
Gets count of job executions.
|
int |
countJobExecutions(String jobName,
org.springframework.batch.core.BatchStatus status)
Gets count of job executions.
|
List<org.springframework.batch.core.JobExecution> |
getJobExecutions(org.springframework.batch.core.BatchStatus status,
int start,
int count)
Get the
JobExecutions for a specific status in
reverse order of creation (so normally of execution). |
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,
org.springframework.batch.core.BatchStatus status,
int start,
int count)
Get the
JobExecutions for a specific job name 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). |
List<JobExecutionWithStepCount> |
getJobExecutionsWithStepCount(Date fromDate,
Date toDate,
int start,
int count)
Get the
JobExecutions for a specific date range in
reverse order of creation (so normally of execution). |
List<JobExecutionWithStepCount> |
getJobExecutionsWithStepCount(int start,
int count)
Get the
JobExecutions in reverse order of creation
(so normally of execution) without StepExecution. |
List<JobExecutionWithStepCount> |
getJobExecutionsWithStepCount(String jobName,
int start,
int count)
Get the
JobExecutions for a specific job name in
reverse order of creation (so normally of execution). |
List<JobExecutionWithStepCount> |
getJobExecutionsWithStepCountFilteredByJobInstanceId(int jobInstanceId,
int start,
int count)
Get the
JobExecutions for a specific job instance id in
reverse order of creation (so normally of execution). |
List<JobExecutionWithStepCount> |
getJobExecutionsWithStepCountFilteredByTaskExecutionId(int taskExecutionId,
int start,
int count)
Get the
JobExecutions for a specific task execution id 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, org.springframework.batch.core.BatchStatus status, int start, int count)
JobExecutions
for a specific job name in
reverse order of creation (so normally of execution).jobName
- the name of the jobstatus
- the status of the jobstart
- the start index of the instancescount
- the maximum number of instances to returnJobExecution
instances requestedList<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(org.springframework.batch.core.BatchStatus status, int start, int count)
JobExecutions
for a specific status in
reverse order of creation (so normally of execution).start
- the start index of the instancesstatus
- the status of the jobcount
- the maximum number of instances to returnJobExecution
instances requestedList<JobExecutionWithStepCount> getJobExecutionsWithStepCount(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 returnJobExecutionWithStepCount
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 requestedList<JobExecutionWithStepCount> getJobExecutionsWithStepCount(int start, int count)
JobExecutions
in reverse order of creation
(so normally of execution) without StepExecution.start
- the start index of the instancescount
- the maximum number of instances to returnJobExecutionWithStepCount
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 runningint countJobExecutions(org.springframework.batch.core.BatchStatus status)
status
- the job statusJobExecutions
belonging to
this jobint countJobExecutions(String jobName, org.springframework.batch.core.BatchStatus status)
jobName
- the name of a jobstatus
- the job statusJobExecutions
belonging to
this jobList<JobExecutionWithStepCount> getJobExecutionsWithStepCount(Date fromDate, Date toDate, int start, int count)
JobExecutions
for a specific date range in
reverse order of creation (so normally of execution).fromDate
- the date which start date must be greater than.toDate
- the date which start date must be less than.start
- the start index of the instancescount
- the maximum number of instances to returnJobExecutionWithStepCount
instances requestedList<JobExecutionWithStepCount> getJobExecutionsWithStepCountFilteredByJobInstanceId(int jobInstanceId, int start, int count)
JobExecutions
for a specific job instance id in
reverse order of creation (so normally of execution).jobInstanceId
- the job instance id associated with the execution.start
- the start index of the instancescount
- the maximum number of instances to returnJobExecutionWithStepCount
instances requestedList<JobExecutionWithStepCount> getJobExecutionsWithStepCountFilteredByTaskExecutionId(int taskExecutionId, int start, int count)
JobExecutions
for a specific task execution id in
reverse order of creation (so normally of execution).taskExecutionId
- the task execution id associated with the execution.start
- the start index of the instancescount
- the maximum number of instances to returnJobExecutionWithStepCount
instances requestedCopyright © 2023 Pivotal Software, Inc.. All rights reserved.