Interface CuratorMultiTransactionMain
- All Known Subinterfaces:
CuratorMultiTransaction
,ErrorListenerMultiTransactionMain
- All Known Implementing Classes:
CuratorMultiTransactionImpl
public interface CuratorMultiTransactionMain
-
Method Summary
Modifier and TypeMethodDescriptionforOperations
(List<CuratorOp> operations) Commit the given operations as a single transaction.forOperations
(CuratorOp... operations) Commit the given operations as a single transaction.
-
Method Details
-
forOperations
Commit the given operations as a single transaction. Create the operation instances viaCuratorFramework.transactionOp()
- Parameters:
operations
- operations that make up the transaction.- Returns:
- result details for foreground operations or
null
for background operations - Throws:
Exception
- errors
-
forOperations
Commit the given operations as a single transaction. Create the operation instances viaCuratorFramework.transactionOp()
- Parameters:
operations
- operations that make up the transaction.- Returns:
- result details for foreground operations or
null
for background operations - Throws:
Exception
- errors
-