Interface AsyncMultiTransaction


  • public interface AsyncMultiTransaction
    Terminal 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 via AsyncCuratorFrameworkDsl.transactionOp()
        Parameters:
        operations - operations that make up the transaction.
        Returns:
        AsyncStage instance for managing the completion