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 ExecutionContextDaopublic void updateExecutionContext(StepExecution stepExecution)
ExecutionContextDaoupdateExecutionContext in interface ExecutionContextDaopublic ExecutionContext getExecutionContext(JobExecution jobExecution)
getExecutionContext in interface ExecutionContextDaopublic void updateExecutionContext(JobExecution jobExecution)
ExecutionContextDaoupdateExecutionContext in interface ExecutionContextDaopublic void saveExecutionContext(JobExecution jobExecution)
ExecutionContextDaosaveExecutionContext in interface ExecutionContextDaopublic void saveExecutionContext(StepExecution stepExecution)
ExecutionContextDaosaveExecutionContext in interface ExecutionContextDaopublic void saveExecutionContexts(java.util.Collection<StepExecution> stepExecutions)
ExecutionContextDaosaveExecutionContexts in interface ExecutionContextDao