Added doc for transactions
Project: http://git-wip-us.apache.org/repos/asf/curator/repo Commit: http://git-wip-us.apache.org/repos/asf/curator/commit/7f27225b Tree: http://git-wip-us.apache.org/repos/asf/curator/tree/7f27225b Diff: http://git-wip-us.apache.org/repos/asf/curator/diff/7f27225b Branch: refs/heads/CURATOR-215 Commit: 7f27225b3144a4d5b43ee50b4fd93f20d413a8a0 Parents: eacb0ba Author: randgalt <[email protected]> Authored: Sat May 9 15:22:08 2015 -0500 Committer: Scott Blum <[email protected]> Committed: Wed Aug 12 17:29:42 2015 -0400 ---------------------------------------------------------------------- curator-framework/src/site/confluence/index.confluence | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/curator/blob/7f27225b/curator-framework/src/site/confluence/index.confluence ---------------------------------------------------------------------- diff --git a/curator-framework/src/site/confluence/index.confluence b/curator-framework/src/site/confluence/index.confluence index c41b244..b79ece4 100644 --- a/curator-framework/src/site/confluence/index.confluence +++ b/curator-framework/src/site/confluence/index.confluence @@ -42,7 +42,8 @@ h3. Methods |getData()|Begins an operation to get a ZNode's data. Call additional methods (watch, background or get stat) and finalize the operation by calling forPath()| |setData()|Begins an operation to set a ZNode's data. Call additional methods (version or background) and finalize the operation by calling forPath()| |getChildren()|Begins an operation to get a ZNode's list of children ZNodes. Call additional methods (watch, background or get stat) and finalize the operation by calling forPath()| -|inTransaction()|Begins an atomic ZooKeeper transaction. Combine create, setData, check, and/or delete operations and then commit() as a unit.| +|transactionOp()|Used to allocate operations to be used with transaction().| +|transaction()|Atomically submit a set of operations as a transaction.| |getACL()|Begins an operation to return a ZNode's ACL settings. Call additional methods and finalize the operation by calling forPath()| |setACL()|Begins an operation to set a ZNode's ACL settings. Call additional methods and finalize the operation by calling forPath()| |getConfig()|Begins an operation to return the last committed configuration. Call additional methods and finalize the operation by calling forEnsemble()| @@ -69,6 +70,7 @@ CuratorEvent depend on the type of event which is exposed via the getType() meth |SYNC|getResultCode(), getStat()| |GET\_ACL|getResultCode(), getACLList()| |SET\_ACL|getResultCode()| +|TRANSACTION|getResultCode(), getOpResults()| |WATCHED|getWatchedEvent()| |GET\_CONFIG|getResultCode(), getData()| |RECONFIG|getResultCode(), getData()|
