
public abstract class AbstractPersistentRepository extends AbstractRepository implements JobRepository
| Constructor and Description |
|---|
AbstractPersistentRepository() |
| Modifier and Type | Method and Description |
|---|---|
JobExecutionImpl |
createJobExecution(JobInstanceImpl jobInstance,
Properties jobParameters) |
JobInstanceImpl |
createJobInstance(Job job,
String applicationName,
ClassLoader classLoader) |
StepExecutionImpl |
findOriginalStepExecutionForRestart(String stepName,
JobExecutionImpl jobExecutionToRestart,
ClassLoader classLoader) |
JobExecutionImpl |
getJobExecution(long jobExecutionId) |
JobInstanceImpl |
getJobInstance(long jobInstanceId) |
List<javax.batch.runtime.StepExecution> |
getStepExecutions(long jobExecutionId,
ClassLoader classLoader) |
void |
removeJob(String jobId) |
void |
removeJobExecutions(JobExecutionSelector jobExecutionSelector)
Removes JobExecutions based on the criteria specified in
jobExecutionSelector. |
void |
removeJobInstance(long jobInstanceIdToRemove) |
addJob, addPartitionExecution, addStepExecution, createStepExecution, getJob, getJobNames, getPartitionExecutions, jobExists, savePersistentData, updateJobExecutionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddJob, addPartitionExecution, addStepExecution, countStepStartTimes, createStepExecution, getJob, getJobExecutions, getJobInstanceCount, getJobInstances, getJobNames, getPartitionExecutions, getRunningExecutions, jobExists, savePersistentData, updateJobExecution, updateStepExecutionpublic void removeJob(String jobId)
removeJob in interface JobRepositoryremoveJob in class AbstractRepositorypublic void removeJobExecutions(JobExecutionSelector jobExecutionSelector)
JobRepositoryjobExecutionSelector.removeJobExecutions in interface JobRepositoryjobExecutionSelector - criteria for which JobExecutions to removepublic JobInstanceImpl createJobInstance(Job job, String applicationName, ClassLoader classLoader)
createJobInstance in interface JobRepositorypublic void removeJobInstance(long jobInstanceIdToRemove)
removeJobInstance in interface JobRepositorypublic JobInstanceImpl getJobInstance(long jobInstanceId)
getJobInstance in interface JobRepositorypublic JobExecutionImpl createJobExecution(JobInstanceImpl jobInstance, Properties jobParameters)
createJobExecution in interface JobRepositorypublic JobExecutionImpl getJobExecution(long jobExecutionId)
getJobExecution in interface JobRepositorypublic List<javax.batch.runtime.StepExecution> getStepExecutions(long jobExecutionId, ClassLoader classLoader)
getStepExecutions in interface JobRepositorypublic StepExecutionImpl findOriginalStepExecutionForRestart(String stepName, JobExecutionImpl jobExecutionToRestart, ClassLoader classLoader)
findOriginalStepExecutionForRestart in interface JobRepositoryCopyright © 2018 JBoss by Red Hat. All rights reserved.