Метод | Описание | |
---|---|---|
FindJobExecutions ( JobInstance jobInstance ) : IList |
Finds all the job executions for a job instance, sorted by descending creation order (the first element is the most recent).
|
|
FindRunningJobExecutions ( string jobName ) : ISet |
Returns all running job executions for the given job name.
|
|
GetJobExecution ( long executionId ) : JobExecution |
Returns the job execution for the given execution id.
|
|
GetLastJobExecution ( JobInstance jobInstance ) : JobExecution |
Returns the last job execution for a given job instance.
|
|
SaveJobExecution ( JobExecution jobExecution ) : void |
Persists a new job execution. The corresponding job instance must have been persisted.
|
|
SynchronizeStatus ( JobExecution jobExecution ) : void |
Persists the status and version fields of a job execution. The job execution must have already been persisted.
|
|
UpdateJobExecution ( JobExecution jobExecution ) : void |
Updates the updates of a job execution. The job execution must have already been persisted.
|
Метод | Описание | |
---|---|---|
GetJobExecutionRowMapper ( JobInstance jobInstance = null ) : RowMapper |
Creates a row mapper for job executions.
|
|
GetJobParameters ( long executionId ) : JobParameters |
Retrieves job parameters for an execution.
|
|
InsertJobParameters ( long executionId, JobParameters jobParameters ) : void |
Inserts job parameters into the job parameters table.
|
|
InsertParameter ( long executionId, Summer.Batch.Core.JobParameter.ParameterType type, string key, object value, bool identifying ) : void |
Inserts a parameter into the job parameters table.
|
public FindJobExecutions ( JobInstance jobInstance ) : IList |
||
jobInstance | JobInstance | a job instance |
Результат | IList |
public FindRunningJobExecutions ( string jobName ) : ISet |
||
jobName | string | a job name |
Результат | ISet |
public GetJobExecution ( long executionId ) : JobExecution | ||
executionId | long | an id for an existing job execution |
Результат | JobExecution |
public GetLastJobExecution ( JobInstance jobInstance ) : JobExecution | ||
jobInstance | JobInstance | a job instance |
Результат | JobExecution |
public SaveJobExecution ( JobExecution jobExecution ) : void | ||
jobExecution | JobExecution | a job execution |
Результат | void |
public SynchronizeStatus ( JobExecution jobExecution ) : void | ||
jobExecution | JobExecution | |
Результат | void |
public UpdateJobExecution ( JobExecution jobExecution ) : void | ||
jobExecution | JobExecution | a job execution |
Результат | void |