org.apache.curator.framework.api.transaction
Interface CuratorTransactionFinal

All Superinterfaces:
CuratorTransaction

public interface CuratorTransactionFinal
extends CuratorTransaction

Adds commit to the transaction interface


Method Summary
 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


Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.