Uses of Interface
org.springframework.batch.repeat.support.RepeatInternalState
Package
Description
Infrastructure implementations of repeat support concerns.
-
Uses of RepeatInternalState in org.springframework.batch.repeat.support
Modifier and TypeMethodDescriptionprotected RepeatInternalState
RepeatTemplate.createInternalState
(RepeatContext context) Create an internal state object that is used to store data needed internally in the scope of an iteration.protected RepeatInternalState
TaskExecutorRepeatTemplate.createInternalState
(RepeatContext context) Modifier and TypeMethodDescriptionprotected RepeatStatus
RepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) Get the next completed result, possibly executing several callbacks until one finally finishes.protected RepeatStatus
TaskExecutorRepeatTemplate.getNextResult
(RepeatContext context, RepeatCallback callback, RepeatInternalState state) Use theTaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor)
to generate a result.protected boolean
RepeatTemplate.waitForResults
(RepeatInternalState state) If necessary, wait for results to come back from remote or concurrent processes.protected boolean
TaskExecutorRepeatTemplate.waitForResults
(RepeatInternalState state) Wait for all the results to appear on the queue and execute the after interceptors for each one.