TINKERPOP-1490 Updated dev docs on RemoteConnection API
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/460f1243 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/460f1243 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/460f1243 Branch: refs/heads/TINKERPOP-1130 Commit: 460f1243b7b0cddb52fc687b370158c1860c9cb7 Parents: 81fa7e0 Author: Stephen Mallette <[email protected]> Authored: Mon Nov 14 10:08:17 2016 -0500 Committer: Stephen Mallette <[email protected]> Committed: Fri Dec 16 10:00:40 2016 -0500 ---------------------------------------------------------------------- docs/src/dev/provider/index.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/460f1243/docs/src/dev/provider/index.asciidoc ---------------------------------------------------------------------- diff --git a/docs/src/dev/provider/index.asciidoc b/docs/src/dev/provider/index.asciidoc index 8760d01..71d071f 100644 --- a/docs/src/dev/provider/index.asciidoc +++ b/docs/src/dev/provider/index.asciidoc @@ -427,7 +427,7 @@ iterate. There is one method to implement on `RemoteConnection`: [source,java] -public <E> RemoteTraversal<?,E> submit(final Bytecode bytecode) throws RemoteConnectionException; +public <E> CompletableFuture<RemoteTraversal<?, E>> submitAsync(final Bytecode bytecode) throws RemoteConnectionException; Note that it returns a `RemoteTraversal`. This interface should also be implemented and in most cases implementers can simply extend the `AbstractRemoteTraversal`, which provides default implementations for all the `Traversal` methods
