JdbcStepExecutionDao
with an in-memory database. Scheduled for removal in v5.0.@Deprecated public class MapStepExecutionDao extends java.lang.Object implements StepExecutionDao
StepExecutionDao.| Constructor and Description |
|---|
MapStepExecutionDao()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStepExecutions(JobExecution jobExecution)
Deprecated.
Retrieve all the
StepExecution for the parent JobExecution. |
void |
clear()
Deprecated.
|
int |
countStepExecutions(JobInstance jobInstance,
java.lang.String stepName)
Deprecated.
Counts all the
StepExecution for a given step name. |
StepExecution |
getLastStepExecution(JobInstance jobInstance,
java.lang.String stepName)
Deprecated.
Retrieve the last
StepExecution for a given JobInstance
ordered by starting time and then id. |
StepExecution |
getStepExecution(JobExecution jobExecution,
java.lang.Long stepExecutionId)
Deprecated.
Retrieve a
StepExecution from its id. |
void |
saveStepExecution(StepExecution stepExecution)
Deprecated.
Save the given StepExecution.
|
void |
saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
Deprecated.
Save the given collection of StepExecution as a batch.
|
void |
updateStepExecution(StepExecution stepExecution)
Deprecated.
Update the given StepExecution
Preconditions: Id must not be null.
|
public void clear()
public void saveStepExecution(StepExecution stepExecution)
StepExecutionDaosaveStepExecution in interface StepExecutionDaostepExecution - StepExecution instance to be saved.public void updateStepExecution(StepExecution stepExecution)
StepExecutionDaoupdateStepExecution in interface StepExecutionDaostepExecution - StepExecution instance to be updated.@Nullable public StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
StepExecutionDaoStepExecution from its id.getStepExecution in interface StepExecutionDaojobExecution - the parent JobExecutionstepExecutionId - the step execution idStepExecutionpublic StepExecution getLastStepExecution(JobInstance jobInstance, java.lang.String stepName)
StepExecutionDaoStepExecution for a given JobInstance
ordered by starting time and then id.getLastStepExecution in interface StepExecutionDaojobInstance - the parent JobInstancestepName - the name of the stepStepExecutionpublic void addStepExecutions(JobExecution jobExecution)
StepExecutionDaoStepExecution for the parent JobExecution.addStepExecutions in interface StepExecutionDaojobExecution - the parent job executionpublic void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
StepExecutionDaosaveStepExecutions in interface StepExecutionDaostepExecutions - a collection of JobExecution instances to be saved.public int countStepExecutions(JobInstance jobInstance, java.lang.String stepName)
StepExecutionDaoStepExecution for a given step name.countStepExecutions in interface StepExecutionDaojobInstance - the parent JobInstancestepName - the name of the stepStepExecutions for a given step