JdbcStepExecutionDao
を使用することを推奨しています。v5.0 での削除が予定されています。@Deprecated public class MapStepExecutionDao extends java.lang.Object implements StepExecutionDao
StepExecutionDao
のメモリ内実装。コンストラクターと説明 |
---|
MapStepExecutionDao() 使用すべきではありません。 |
修飾子と型 | メソッドと説明 |
---|---|
void | addStepExecutions(JobExecution jobExecution) 使用すべきではありません。 親 JobExecution のすべての StepExecution を取得します。 |
void | clear() 使用すべきではありません。 |
int | countStepExecutions(JobInstance jobInstance, java.lang.String stepName) 使用すべきではありません。 指定されたステップ名のすべての StepExecution をカウントします。 |
StepExecution | getLastStepExecution(JobInstance jobInstance, java.lang.String stepName) 使用すべきではありません。 開始時刻、次に ID の順に並べられた、指定された JobInstance の最後の StepExecution を取得します。 |
StepExecution | getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId) 使用すべきではありません。 その ID から StepExecution を取得します。 |
void | saveStepExecution(StepExecution stepExecution) 使用すべきではありません。 指定された StepExecution を保存します。 |
void | saveStepExecutions(java.util.Collection<StepExecution> stepExecutions) 使用すべきではありません。 StepExecution の指定されたコレクションをバッチとして保存します。 |
void | updateStepExecution(StepExecution stepExecution) 使用すべきではありません。 指定された StepExecution を更新します。前提条件: ID を null にすることはできません。 |
public void clear()
public void saveStepExecution(StepExecution stepExecution)
StepExecutionDao
StepExecutionDao
の saveStepExecution
stepExecution
- 保存する StepExecution
インスタンス。public void updateStepExecution(StepExecution stepExecution)
StepExecutionDao
StepExecutionDao
の updateStepExecution
stepExecution
- 更新される StepExecution
インスタンス。@Nullable public StepExecution getStepExecution(JobExecution jobExecution, java.lang.Long stepExecutionId)
StepExecutionDao
StepExecution
を取得します。StepExecutionDao
の getStepExecution
jobExecution
- 親 JobExecution
stepExecutionId
- ステップ実行 IDStepExecution
public StepExecution getLastStepExecution(JobInstance jobInstance, java.lang.String stepName)
StepExecutionDao
JobInstance
の最後の StepExecution
を取得します。StepExecutionDao
の getLastStepExecution
jobInstance
- 親 JobInstance
stepName
- ステップの名前 StepExecution
public void addStepExecutions(JobExecution jobExecution)
StepExecutionDao
JobExecution
のすべての StepExecution
を取得します。StepExecutionDao
の addStepExecutions
jobExecution
- 親ジョブの実行 public void saveStepExecutions(java.util.Collection<StepExecution> stepExecutions)
StepExecutionDao
StepExecutionDao
の saveStepExecutions
stepExecutions
- 保存する JobExecution
インスタンスのコレクション。public int countStepExecutions(JobInstance jobInstance, java.lang.String stepName)
StepExecutionDao
StepExecution
をカウントします。StepExecutionDao
の countStepExecutions
jobInstance
- 親 JobInstance
stepName
- ステップの名前 StepExecution
の数