Interface CuratorTransactionFinal
-
- All Superinterfaces:
CuratorTransaction
public interface CuratorTransactionFinal extends CuratorTransaction
Adds commit to the transaction interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<CuratorTransactionResult>
commit()
Commit all added operations as an atomic unit and return results for the operations.-
Methods inherited from interface org.apache.curator.framework.api.transaction.CuratorTransaction
check, create, delete, setData
-
-
-
-
Method Detail
-
commit
Collection<CuratorTransactionResult> commit() throws Exception
Commit all added operations as an atomic unit and return results for the operations. One result is returned for each operation added. Further, the ordering of the results matches the ordering that the operations were added.- Returns:
- operation results
- Throws:
Exception
- errors
-
-