Package org.apache.curator.x.async.api
Interface AsyncMultiTransaction
-
public interface AsyncMultiTransactionTerminal operation to support multi/transactions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncStage<java.util.List<org.apache.curator.framework.api.transaction.CuratorTransactionResult>>forOperations(java.util.List<org.apache.curator.framework.api.transaction.CuratorOp> operations)Invoke ZooKeeper to commit the given operations as a single transaction.
-
-
-
Method Detail
-
forOperations
AsyncStage<java.util.List<org.apache.curator.framework.api.transaction.CuratorTransactionResult>> forOperations(java.util.List<org.apache.curator.framework.api.transaction.CuratorOp> operations)
Invoke ZooKeeper to commit the given operations as a single transaction. Create the operation instances viaAsyncCuratorFrameworkDsl.transactionOp()- Parameters:
operations- operations that make up the transaction.- Returns:
- AsyncStage instance for managing the completion
-
-