GitHub user spmallette opened a pull request:

    https://github.com/apache/tinkerpop/pull/437

    TINKERPOP-790 TraversalSource and Traversal implement AutoCloseable.

    https://issues.apache.org/jira/browse/TINKERPOP-790
    
    This allowed for `TraversalSource` instances created using `withRemote()` 
to close out open `RemoteConnection` instances. It also sets up for 
side-effects created by a "remote" `Traversal` to be cleared from cache on the 
server. That work is not done yet and is reserved for a different ticket.
    
    Builds with `$ mvn clean install && mvn verify -pl gremlin-server 
-DskipIntegrationTests=false`
    
    I won't VOTE on this yet as I suspect there might be some feedback from 
@okram perhaps.
    
    @davebshow note the placeholder for sending the "close" message for 
side-effects.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-790

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/437.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #437
    
----
commit 14211691effffec1f9fdf6ddd92c5833dff234de
Author: Stephen Mallette <[email protected]>
Date:   2016-09-25T02:18:56Z

    TraversalSource and Traversal implement AutoCloseable.
    
    This allowed for TraversalSource instances created using withRemote() to 
close out open RemoteConnection instances. It also sets up for side-effects 
created by a "remote" Traversal to be cleared from cache on the server. That 
work is not done yet and is reserved for a different ticket.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to