Repository: tinkerpop Updated Branches: refs/heads/TINKERPOP-1490 e07cfd06e -> 8cdc4bc01
TINKERPOP-1490 Cleaned up documentation based on latest changes to promise API Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/8cdc4bc0 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/8cdc4bc0 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/8cdc4bc0 Branch: refs/heads/TINKERPOP-1490 Commit: 8cdc4bc01318e307142bfebeede52adb96ed6e47 Parents: e07cfd0 Author: Stephen Mallette <[email protected]> Authored: Mon Nov 14 06:38:18 2016 -0500 Committer: Stephen Mallette <[email protected]> Committed: Mon Nov 14 06:38:18 2016 -0500 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 2 +- docs/src/upgrade/release-3.2.x-incubating.asciidoc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8cdc4bc0/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 6e66eea..cbb16b7 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -38,7 +38,7 @@ TinkerPop 3.2.4 (Release Date: NOT OFFICIALLY RELEASED YET) * Improved ability to release resources in `GraphProvider` instances in the test suite. * Added a `force` option for killing sessions without waiting for transaction close or timeout of a currently running job or multiple jobs. * Deprecated `Session.kill()` and `Session.manualKill()`. -* Added `Traversal.promise()` methods to allow for asynchronous traversal processing. +* Added `Traversal.promise()` method to allow for asynchronous traversal processing on "remote" traversals. * Added `choose(predicate,traversal)` and `choose(traversal,traversal)` to effect if/then-semantics (no else). Equivalent to `choose(x,y,identity())`. * Removed `ImmutablePath.TailPath` as it is no longer required with new recursion model. * Removed call stack recursion in `ImmutablePath`. http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/8cdc4bc0/docs/src/upgrade/release-3.2.x-incubating.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/upgrade/release-3.2.x-incubating.asciidoc b/docs/src/upgrade/release-3.2.x-incubating.asciidoc index 04f3b79..283688f 100644 --- a/docs/src/upgrade/release-3.2.x-incubating.asciidoc +++ b/docs/src/upgrade/release-3.2.x-incubating.asciidoc @@ -35,7 +35,7 @@ Upgrading for Users Traversal Promises ^^^^^^^^^^^^^^^^^^ -The `Traversal` API now has two `promise()` method overloads. These methods return a promise in the form of a +The `Traversal` API now has a new `promise()` method. These methods return a promise in the form of a `CompleteableFuture`. Usage is as follows: [source,groovy] @@ -50,6 +50,8 @@ gremlin> g.V().out().promise{it.toList()}.thenApply{it.size()}.get() ==>6 ---- +At this time, this method is only used for traversals that are configured using `withRemote()`. + See: link:https://issues.apache.org/jira/browse/TINKERPOP-1490[TINKERPOP-1490] If/Then-Semantics with Choose Step
