public interface BatchOp extends SPIOperation
| Modifier and Type | Method and Description |
|---|---|
Subscription |
executeBatch(List<BatchTask> tasks,
Observer<BatchResult> observer,
OperationOptions options)
Execute a series of
BatchTask. |
Subscription |
queryBatch(BatchToken token,
Observer<BatchResult> observer,
OperationOptions options)
Query an ongoing batch execution for new results.
|
Subscription executeBatch(List<BatchTask> tasks, Observer<BatchResult> observer, OperationOptions options)
BatchTask.tasks - the list of batch tasks to execute.observer - an observer/handler for the ongoing results of the batch.options - options for the operation.Subscription queryBatch(BatchToken token, Observer<BatchResult> observer, OperationOptions options)
token - a token for a previously started batch, the ongoing results of which should invoke the
observer.observer - an observer/handler for the ongoing results of the batch.options - options for the operation.Copyright © 2018–2025. All rights reserved.