public class RemoteJobRepository extends AbstractRemoteDao implements org.springframework.batch.core.repository.JobRepository
Constructor and Description |
---|
RemoteJobRepository() |
RemoteJobRepository(AppmasterMindScOperations appmasterScOperations) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.springframework.batch.core.StepExecution stepExecution) |
void |
addAll(java.util.Collection<org.springframework.batch.core.StepExecution> stepExecutions) |
org.springframework.batch.core.JobExecution |
createJobExecution(org.springframework.batch.core.JobInstance jobInstance,
org.springframework.batch.core.JobParameters jobParameters,
java.lang.String jobConfigurationLocation) |
org.springframework.batch.core.JobExecution |
createJobExecution(java.lang.String jobName,
org.springframework.batch.core.JobParameters jobParameters) |
org.springframework.batch.core.JobInstance |
createJobInstance(java.lang.String jobName,
org.springframework.batch.core.JobParameters jobParameters) |
org.springframework.batch.core.JobExecution |
getLastJobExecution(java.lang.String jobName,
org.springframework.batch.core.JobParameters jobParameters) |
org.springframework.batch.core.StepExecution |
getLastStepExecution(org.springframework.batch.core.JobInstance jobInstance,
java.lang.String stepName) |
int |
getStepExecutionCount(org.springframework.batch.core.JobInstance jobInstance,
java.lang.String stepName) |
boolean |
isJobInstanceExists(java.lang.String jobName,
org.springframework.batch.core.JobParameters jobParameters) |
void |
update(org.springframework.batch.core.JobExecution jobExecution) |
void |
update(org.springframework.batch.core.StepExecution stepExecution) |
void |
updateExecutionContext(org.springframework.batch.core.JobExecution jobExecution) |
void |
updateExecutionContext(org.springframework.batch.core.StepExecution stepExecution) |
checkResponseMayThrow, convertException, getAppmasterScOperations, setAppmasterScOperations
public RemoteJobRepository()
public RemoteJobRepository(AppmasterMindScOperations appmasterScOperations)
public boolean isJobInstanceExists(java.lang.String jobName, org.springframework.batch.core.JobParameters jobParameters)
isJobInstanceExists
in interface org.springframework.batch.core.repository.JobRepository
public org.springframework.batch.core.JobExecution createJobExecution(java.lang.String jobName, org.springframework.batch.core.JobParameters jobParameters) throws org.springframework.batch.core.repository.JobExecutionAlreadyRunningException, org.springframework.batch.core.repository.JobRestartException, org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException
createJobExecution
in interface org.springframework.batch.core.repository.JobRepository
org.springframework.batch.core.repository.JobExecutionAlreadyRunningException
org.springframework.batch.core.repository.JobRestartException
org.springframework.batch.core.repository.JobInstanceAlreadyCompleteException
public void update(org.springframework.batch.core.JobExecution jobExecution)
update
in interface org.springframework.batch.core.repository.JobRepository
public void add(org.springframework.batch.core.StepExecution stepExecution)
add
in interface org.springframework.batch.core.repository.JobRepository
public void addAll(java.util.Collection<org.springframework.batch.core.StepExecution> stepExecutions)
addAll
in interface org.springframework.batch.core.repository.JobRepository
public void update(org.springframework.batch.core.StepExecution stepExecution)
update
in interface org.springframework.batch.core.repository.JobRepository
public void updateExecutionContext(org.springframework.batch.core.StepExecution stepExecution)
updateExecutionContext
in interface org.springframework.batch.core.repository.JobRepository
public void updateExecutionContext(org.springframework.batch.core.JobExecution jobExecution)
updateExecutionContext
in interface org.springframework.batch.core.repository.JobRepository
public org.springframework.batch.core.StepExecution getLastStepExecution(org.springframework.batch.core.JobInstance jobInstance, java.lang.String stepName)
getLastStepExecution
in interface org.springframework.batch.core.repository.JobRepository
public int getStepExecutionCount(org.springframework.batch.core.JobInstance jobInstance, java.lang.String stepName)
getStepExecutionCount
in interface org.springframework.batch.core.repository.JobRepository
public org.springframework.batch.core.JobExecution getLastJobExecution(java.lang.String jobName, org.springframework.batch.core.JobParameters jobParameters)
getLastJobExecution
in interface org.springframework.batch.core.repository.JobRepository
public org.springframework.batch.core.JobInstance createJobInstance(java.lang.String jobName, org.springframework.batch.core.JobParameters jobParameters)
createJobInstance
in interface org.springframework.batch.core.repository.JobRepository
public org.springframework.batch.core.JobExecution createJobExecution(org.springframework.batch.core.JobInstance jobInstance, org.springframework.batch.core.JobParameters jobParameters, java.lang.String jobConfigurationLocation)
createJobExecution
in interface org.springframework.batch.core.repository.JobRepository