public interface ItemStream
定期的に状態を格納し、エラーが発生した場合にその状態から復元するための契約を定義するマーカーインターフェース。
修飾子と型 | メソッドと説明 |
---|---|
void | close() ストリームの動作にリソースが必要な場合、ここで破棄する必要があります。 |
void | open(ExecutionContext executionContext) 提供された ExecutionContext のストリームを開きます。 |
void | update(ExecutionContext executionContext) オープン中に提供された実行コンテキストが保存されようとしていることを示します。 |
void open(ExecutionContext executionContext) throws ItemStreamException
ExecutionContext
のストリームを開きます。executionContext
- 現在のステップの ExecutionContext
再起動時のステップの最後の実行からの executionContext になります。java.lang.IllegalArgumentException
- コンテキストが null の場合 ItemStreamException
void update(ExecutionContext executionContext) throws ItemStreamException
executionContext
- 更新される java.lang.IllegalArgumentException
- executionContext が null の場合。ItemStreamException
void close() throws ItemStreamException