public interface StepExecutionSplitter
修飾子と型 | メソッドと説明 |
---|---|
java.lang.String | getStepName() リモートで実行されるステップ構成の名前。 |
java.util.Set<StepExecution> | split(StepExecution stepExecution, int gridSize) 提供された StepExecution を、同じ親 JobExecution を持つ並列実行可能インスタンスのセットに分割します。 |
java.lang.String getStepName()
java.util.Set<StepExecution> split(StepExecution stepExecution, int gridSize) throws JobExecutionException
StepExecution
を、同じ親 JobExecution
を持つ並列実行可能インスタンスのセットに分割します。グリッドサイズは、返されるコレクションのサイズのヒントとして扱われます。実行グリッドの物理サイズに対応する場合と対応しない場合があります。StepExecutionSplitter
のクライアントは、最後に失敗した実行の状態を再構成し、再起動が必要な実行のみを返すことを期待する必要があります。グリッドサイズのヒントは再起動時に無視されます。stepExecution
- パーティション化される StepExecution
。gridSize
- グリッドのサイズがわかっている場合のスプリッターのヒント StepExecution
インスタンスのセット JobExecutionException
- 分割できない場合