インターフェースの使用
org.springframework.batch.repeat.support.RepeatInternalState
org.springframework.batch.repeat.support 内の RepeatInternalState 使用
修飾子と型メソッド説明protected RepeatInternalState
RepeatTemplate.createInternalState
(RepeatContext context) 反復のスコープ内で内部的に必要なデータを格納するために使用される内部状態オブジェクトを作成します。protected RepeatInternalState
TaskExecutorRepeatTemplate.createInternalState
(RepeatContext context) 修飾子と型メソッド説明protected RepeatStatus
RepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) 次の補完した結果を取得します。1 つが最終的に完了するまで、複数のコールバックを実行する可能性があります。protected RepeatStatus
TaskExecutorRepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) TaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor)
を使用して結果を生成します。protected boolean
RepeatTemplate.waitForResults
(RepeatInternalState state) 必要に応じて、リモートまたは並行プロセスから結果が返されるまで待ちます。protected boolean
TaskExecutorRepeatTemplate.waitForResults
(RepeatInternalState state) すべての結果がキューに表示されるのを待ち、それぞれの結果インターセプターを実行します。