In TinkerPop 2.x we had a CloseableIterable class which allowed graphs like
Sparksee and OrientDB to release server resources. Luca recently brought up
this topic on the gremlin-users mailing list:

https://groups.google.com/d/msg/gremlin-users/lHepXl_Nle4/n3QeYqmNCwAJ

Is there any way to implement this without having something like
CloseableIterable? Traversal already implements AutoCloseable which could
call close() to the underlying iterator. We use close() for remoting
Traversals at this point. There is nothing analogous for a standard
traversal instance.

Thoughts?

Reply via email to