You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/11/09 14:24:53 UTC

[15/16] incubator-tinkerpop git commit: Update reference docs to denote the ThreadLocal nature of the transaction settings.

Update reference docs to denote the ThreadLocal nature of the transaction settings.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/6b532f78
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/6b532f78
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/6b532f78

Branch: refs/heads/master
Commit: 6b532f78900f631b9d71d37c1b8293ec8adab71d
Parents: 02623c7
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sat Nov 7 09:32:34 2015 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sat Nov 7 09:32:34 2015 -0500

----------------------------------------------------------------------
 docs/src/the-graph.asciidoc | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/6b532f78/docs/src/the-graph.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-graph.asciidoc b/docs/src/the-graph.asciidoc
index b84d08a..eceec21 100644
--- a/docs/src/the-graph.asciidoc
+++ b/docs/src/the-graph.asciidoc
@@ -225,6 +225,9 @@ this method:
 * `ROLLBACK` - automatically rollback an open transaction
 * `MANUAL` - throw an exception if a transaction is open, forcing the user to explicitly close the transaction
 
+IMPORTANT: As transactions are `ThreadLocal` in nature, so are the transaction configurations for `onReadWrite` and
+`onClose`.
+
 Once there is an understanding for how transactions are configured, most of the rest of the `Transaction` interface
 is self-explanatory. Note that <<neo4j-gremlin,Neo4j-Gremlin>> is used for the examples to follow as TinkerGraph does
 not support transactions.