Database DAO for ExecutionContext Stores execution context data related to both Step and Job using a different table for each. More...
Public Member Functions | |||
ExecutionContext | GetExecutionContext (JobExecution jobExecution) | ||
Returns the execution context associated with the given job execution.
| |||
ExecutionContext | GetExecutionContext (StepExecution stepExecution) | ||
Returns the execution associated with the given step execution.
| |||
void | SaveExecutionContext (JobExecution jobExecution) | ||
Persist the execution context associated with the given job execution. A persistent entry for the context should not exist yet. More... | |||
void | SaveExecutionContext (StepExecution stepExecution) | ||
Persists the execution context associated with the given step execution. A persistent entry for the context should not exist yet. More... | |||
void | SaveExecutionContexts (ICollection< StepExecution > stepExecutions) | ||
Save execution contexts. More... | |||
void | UpdateExecutionContext (JobExecution jobExecution) | ||
Persists the updates of the execution context associated with the given job execution. A persistent entry should already exist for this context. More... | |||
void | UpdateExecutionContext (StepExecution stepExecution) | ||
Persists the updates of the execution context associated with the given step execution. A persistent entry should already exist for this context. More... | |||
Public Member Functions inherited from Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao | |||
virtual void | AfterPropertiesSet () | ||
Checks that DbOperator has been correctly set. More... | |||
Additional Inherited Members | |
Public Attributes inherited from Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao | |
const string | TablePrefixSetting = "TablePrefix" |
The name of the setting for the table prefix. More... | |
const string | DefaultTablePrefix = "BATCH_" |
Default table prefix constant. More... | |
const int | DefaultExitMessageLength = 2500 |
Default exit message length constant. More... | |
Protected Member Functions inherited from Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao | |
string | InsertTablePrefix (string query) |
Inserts the table prefix in the specified query. It uses the string.Format(string,object) syntax, and expect the prefix to be the parameter 0 ( More... | |
Static Protected Attributes inherited from Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao | |
static readonly TransactionOptions | TransactionOptions |
The default transaction options for transaction scopes in the DAOs. More... | |
Properties inherited from Summer.Batch.Core.Repository.Dao.AbstractDbBatchMetadataDao | |
string | TablePrefix [get, set] |
The prefix for the batch persistence tables in the database. Default value is "BATCH_". More... | |
DbOperator | DbOperator [get, set] |
The database operator used for persistence. More... | |
IPlaceholderGetter | PlaceholderGetter [get, set] |
The parameter helper used to create parameter placeholders in queries. More... | |
Detailed Description
Database DAO for ExecutionContext Stores execution context data related to both Step and Job using a different table for each.
Member Function Documentation
ExecutionContext Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.GetExecutionContext | ( | JobExecution | jobExecution | ) |
Returns the execution context associated with the given job execution.
- Parameters
-
jobExecution a job execution
- Returns
- the execution context associated with the given job execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
ExecutionContext Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.GetExecutionContext | ( | StepExecution | stepExecution | ) |
Returns the execution associated with the given step execution.
- Parameters
-
stepExecution a step execution
- Returns
- the execution context associated with the given step execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContext | ( | JobExecution | jobExecution | ) |
Persist the execution context associated with the given job execution. A persistent entry for the context should not exist yet.
- Parameters
-
jobExecution a job execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContext | ( | StepExecution | stepExecution | ) |
Persists the execution context associated with the given step execution. A persistent entry for the context should not exist yet.
- Parameters
-
stepExecution a step execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.SaveExecutionContexts | ( | ICollection< StepExecution > | stepExecutions | ) |
Save execution contexts.
- Parameters
-
stepExecutions
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.UpdateExecutionContext | ( | JobExecution | jobExecution | ) |
Persists the updates of the execution context associated with the given job execution. A persistent entry should already exist for this context.
- Parameters
-
jobExecution a job execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
void Summer.Batch.Core.Repository.Dao.DbExecutionContextDao.UpdateExecutionContext | ( | StepExecution | stepExecution | ) |
Persists the updates of the execution context associated with the given step execution. A persistent entry should already exist for this context.
- Parameters
-
stepExecution a step execution
Implements Summer.Batch.Core.Repository.Dao.IExecutionContextDao.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Repository/Dao/DbExecutionContextDao.cs