public interface CuratorMultiTransactionMain
| Modifier and Type | Method and Description |
|---|---|
List<CuratorTransactionResult> |
forOperations(CuratorOp... operations)
Commit the given operations as a single transaction.
|
List<CuratorTransactionResult> |
forOperations(List<CuratorOp> operations)
Commit the given operations as a single transaction.
|
List<CuratorTransactionResult> forOperations(CuratorOp... operations) throws Exception
CuratorFramework.transactionOp()operations - operations that make up the transaction.null for background operationsException - errorsList<CuratorTransactionResult> forOperations(List<CuratorOp> operations) throws Exception
CuratorFramework.transactionOp()operations - operations that make up the transaction.null for background operationsException - errorsCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.