Interface CuratorMultiTransactionMain

    • Method Detail

      • forOperations

        java.util.List<CuratorTransactionResult> forOperations​(CuratorOp... operations)
                                                        throws java.lang.Exception
        Commit the given operations as a single transaction. Create the operation instances via CuratorFramework.transactionOp()
        Parameters:
        operations - operations that make up the transaction.
        Returns:
        result details for foreground operations or null for background operations
        Throws:
        java.lang.Exception - errors
      • forOperations

        java.util.List<CuratorTransactionResult> forOperations​(java.util.List<CuratorOp> operations)
                                                        throws java.lang.Exception
        Commit the given operations as a single transaction. Create the operation instances via CuratorFramework.transactionOp()
        Parameters:
        operations - operations that make up the transaction.
        Returns:
        result details for foreground operations or null for background operations
        Throws:
        java.lang.Exception - errors