public class MapExecutionContextDao extends 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(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 ExecutionContextDao
public void updateExecutionContext(StepExecution stepExecution)
ExecutionContextDao
updateExecutionContext
in interface ExecutionContextDao
public ExecutionContext getExecutionContext(JobExecution jobExecution)
getExecutionContext
in interface ExecutionContextDao
public void updateExecutionContext(JobExecution jobExecution)
ExecutionContextDao
updateExecutionContext
in interface ExecutionContextDao
public void saveExecutionContext(JobExecution jobExecution)
ExecutionContextDao
saveExecutionContext
in interface ExecutionContextDao
public void saveExecutionContext(StepExecution stepExecution)
ExecutionContextDao
saveExecutionContext
in interface ExecutionContextDao
public void saveExecutionContexts(Collection<StepExecution> stepExecutions)
ExecutionContextDao
saveExecutionContexts
in interface ExecutionContextDao
Copyright © 2014 Pivotal. All rights reserved.