public class MapExecutionContextDao extends java.lang.Object implements ExecutionContextDao
ExecutionContextDao backed by maps.| Constructor and Description |
|---|
MapExecutionContextDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
ExecutionContext |
getExecutionContext(JobExecution jobExecution) |
ExecutionContext |
getExecutionContext(StepExecution stepExecution) |
void |
saveExecutionContext(JobExecution jobExecution)
Persist the execution context associated with the given jobExecution,
persistent entry for the context should not exist yet.
|
void |
saveExecutionContext(StepExecution stepExecution)
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)
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)
Persist the updates of execution context associated with the given
jobExecution.
|
void |
updateExecutionContext(StepExecution stepExecution)
Persist the updates of execution context associated with the given
stepExecution.
|
public void clear()
public ExecutionContext getExecutionContext(StepExecution stepExecution)
getExecutionContext in interface ExecutionContextDaostepExecution - StepExecution instance that contains the context.public void updateExecutionContext(StepExecution stepExecution)
ExecutionContextDaoupdateExecutionContext in interface ExecutionContextDaostepExecution - StepExecution instance that contains the context.public ExecutionContext getExecutionContext(JobExecution jobExecution)
getExecutionContext in interface ExecutionContextDaojobExecution - JobExecution instance that contains the context.public void updateExecutionContext(JobExecution jobExecution)
ExecutionContextDaoupdateExecutionContext in interface ExecutionContextDaojobExecution - JobExecution instance that contains the context.public void saveExecutionContext(JobExecution jobExecution)
ExecutionContextDaosaveExecutionContext in interface ExecutionContextDaojobExecution - JobExecution instance that contains the context.public void saveExecutionContext(StepExecution stepExecution)
ExecutionContextDaosaveExecutionContext in interface ExecutionContextDaostepExecution - StepExecution instance that contains the context.public void saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
ExecutionContextDaosaveExecutionContexts in interface ExecutionContextDaostepExecutions - a collection of StepExecutions that contain
the contexts.