Package org.apache.curator.x.async.api
Interface AsyncMultiTransaction
public interface AsyncMultiTransaction
Terminal operation to support multi/transactions
-
Method Summary
Modifier and TypeMethodDescriptionforOperations
(List<CuratorOp> operations) Invoke ZooKeeper to commit the given operations as a single transaction.
-
Method Details
-
forOperations
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
-