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