JdbcExecutionContextDao
with an in-memory database. Scheduled for removal in v5.0.@Deprecated public class MapExecutionContextDao extends java.lang.Object implements ExecutionContextDao
ExecutionContextDao
backed by maps.Constructor and Description |
---|
MapExecutionContextDao()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
ExecutionContext |
getExecutionContext(JobExecution jobExecution)
Deprecated.
|
ExecutionContext |
getExecutionContext(StepExecution stepExecution)
Deprecated.
|
void |
saveExecutionContext(JobExecution jobExecution)
Deprecated.
Persist the execution context associated with the given jobExecution,
persistent entry for the context should not exist yet.
|
void |
saveExecutionContext(StepExecution stepExecution)
Deprecated.
Persist the execution context associated with the given stepExecution,
persistent entry for the context should not exist yet.
|
void |
saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
Deprecated.
Persist the execution context associated with each stepExecution in a given collection,
persistent entry for the context should not exist yet.
|
void |
updateExecutionContext(JobExecution jobExecution)
Deprecated.
Persist the updates of execution context associated with the given
jobExecution.
|
void |
updateExecutionContext(StepExecution stepExecution)
Deprecated.
Persist the updates of execution context associated with the given
stepExecution.
|
public void clear()
public ExecutionContext getExecutionContext(StepExecution stepExecution)
getExecutionContext
in interface ExecutionContextDao
stepExecution
- StepExecution
instance that contains the context.public void updateExecutionContext(StepExecution stepExecution)
ExecutionContextDao
updateExecutionContext
in interface ExecutionContextDao
stepExecution
- StepExecution
instance that contains the context.public ExecutionContext getExecutionContext(JobExecution jobExecution)
getExecutionContext
in interface ExecutionContextDao
jobExecution
- JobExecution
instance that contains the context.public void updateExecutionContext(JobExecution jobExecution)
ExecutionContextDao
updateExecutionContext
in interface ExecutionContextDao
jobExecution
- JobExecution
instance that contains the context.public void saveExecutionContext(JobExecution jobExecution)
ExecutionContextDao
saveExecutionContext
in interface ExecutionContextDao
jobExecution
- JobExecution
instance that contains the context.public void saveExecutionContext(StepExecution stepExecution)
ExecutionContextDao
saveExecutionContext
in interface ExecutionContextDao
stepExecution
- StepExecution
instance that contains the context.public void saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
ExecutionContextDao
saveExecutionContexts
in interface ExecutionContextDao
stepExecutions
- a collection of StepExecution
s that contain
the contexts.