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, updateJobExecution
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addJob, addPartitionExecution, addStepExecution, countStepStartTimes, createStepExecution, getJob, getJobExecutions, getJobInstanceCount, getJobInstances, getJobNames, getPartitionExecutions, getRunningExecutions, jobExists, savePersistentData, updateJobExecution, updateStepExecution
public void removeJob(String jobId)
removeJob
in interface JobRepository
removeJob
in class AbstractRepository
public void removeJobExecutions(JobExecutionSelector jobExecutionSelector)
JobRepository
jobExecutionSelector
.removeJobExecutions
in interface JobRepository
jobExecutionSelector
- criteria for which JobExecutions to removepublic JobInstanceImpl createJobInstance(Job job, String applicationName, ClassLoader classLoader)
createJobInstance
in interface JobRepository
public void removeJobInstance(long jobInstanceIdToRemove)
removeJobInstance
in interface JobRepository
public JobInstanceImpl getJobInstance(long jobInstanceId)
getJobInstance
in interface JobRepository
public JobExecutionImpl createJobExecution(JobInstanceImpl jobInstance, Properties jobParameters)
createJobExecution
in interface JobRepository
public JobExecutionImpl getJobExecution(long jobExecutionId)
getJobExecution
in interface JobRepository
public List<javax.batch.runtime.StepExecution> getStepExecutions(long jobExecutionId, ClassLoader classLoader)
getStepExecutions
in interface JobRepository
public StepExecutionImpl findOriginalStepExecutionForRestart(String stepName, JobExecutionImpl jobExecutionToRestart, ClassLoader classLoader)
findOriginalStepExecutionForRestart
in interface JobRepository
Copyright © 2018 JBoss by Red Hat. All rights reserved.