@Service public class BatchServiceImpl extends Object implements BatchService
| Constructor and Description |
|---|
BatchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.batch.runtime.JobExecution |
abandon(long executionId) |
int |
countJobInstances(String jobName) |
int |
countJobs() |
List<javax.batch.runtime.JobExecution> |
getExecutions(long instanceId) |
List<BatchParameter<?>> |
getParameters(long executionId) |
List<javax.batch.runtime.JobExecution> |
getRunningExecutions(String jobname) |
boolean |
isLaunchable(String jobName) |
boolean |
isLaunchableNextInstance(String jobName) |
Long |
launch(String jobName,
BatchParameter<?>... parameters) |
Long |
launchNextInstance(String jobName) |
List<Long> |
listJobInstances(String jobName,
int start,
int count) |
List<String> |
listJobs(int start,
int count) |
Long |
restart(long executionId) |
boolean |
stop(long executionId) |
public int countJobs()
countJobs in interface BatchServicepublic List<String> listJobs(int start, int count)
listJobs in interface BatchServicepublic boolean isLaunchable(String jobName)
isLaunchable in interface BatchServicepublic Long launch(String jobName, BatchParameter<?>... parameters)
launch in interface BatchServicepublic boolean isLaunchableNextInstance(String jobName)
isLaunchableNextInstance in interface BatchServicepublic Long launchNextInstance(String jobName)
launchNextInstance in interface BatchServicepublic int countJobInstances(String jobName)
countJobInstances in interface BatchServicepublic List<Long> listJobInstances(String jobName, int start, int count)
listJobInstances in interface BatchServicepublic List<javax.batch.runtime.JobExecution> getExecutions(long instanceId)
getExecutions in interface BatchServicepublic List<javax.batch.runtime.JobExecution> getRunningExecutions(String jobname)
getRunningExecutions in interface BatchServicepublic List<BatchParameter<?>> getParameters(long executionId)
getParameters in interface BatchServicepublic boolean stop(long executionId)
stop in interface BatchServicepublic Long restart(long executionId)
restart in interface BatchServicepublic javax.batch.runtime.JobExecution abandon(long executionId)
abandon in interface BatchServiceCopyright © 2017–2020 NTT DATA Corporation. All rights reserved.