Package | Description |
---|---|
org.springframework.batch.core.scope.context | |
org.springframework.batch.repeat |
Infrastructure implementations of repeat concerns.
|
org.springframework.batch.repeat.callback |
Infrastructure implementations of repeat callback concerns.
|
org.springframework.batch.repeat.support |
Infrastructure implementations of repeat support concerns.
|
Modifier and Type | Class and Description |
---|---|
class |
StepContextRepeatCallback
Convenient base class for clients who need to do something in a repeat
callback inside a
Step . |
Modifier and Type | Method and Description |
---|---|
RepeatStatus |
RepeatOperations.iterate(RepeatCallback callback)
Execute the callback repeatedly, until a decision can be made to
complete.
|
Modifier and Type | Class and Description |
---|---|
class |
NestedRepeatCallback
Callback that delegates to another callback, via a
RepeatOperations
instance. |
Constructor and Description |
---|
NestedRepeatCallback(RepeatOperations template,
RepeatCallback callback)
Constructor setting mandatory fields.
|
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.
|
RepeatStatus |
RepeatTemplate.iterate(RepeatCallback callback)
Execute the batch callback until the completion policy decides that we
are finished.
|
Copyright © 2014 Pivotal. All rights reserved.