public interface RepeatOperations
RepeatCallback
, where a single item or record is processed. The
batch behaviour, boundary conditions, transactions etc, are dealt with by the
RepeatOperations
in such as way that the client does not need to know
about them. The client may have access to framework abstractions, like
template data sources, but these should work the same whether they are in a
batch or not.Modifier and Type | Method and Description |
---|---|
RepeatStatus |
iterate(RepeatCallback callback)
Execute the callback repeatedly, until a decision can be made to
complete.
|
RepeatStatus iterate(RepeatCallback callback) throws RepeatException
CompletionPolicy
.callback
- the batch callback.RepeatOperations
can continue
processing if this method is called again.RepeatException
Copyright © 2014 Pivotal. All rights reserved.