[ 
https://issues.apache.org/jira/browse/TINKERPOP3-765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stephen mallette updated TINKERPOP3-765:
----------------------------------------
    Fix Version/s:     (was: 3.0.1-incubating)
                   3.1.0-incubating

There's currently no way to know when the user is done with the 
{{EventStrategy}}, so knowing when to remove the {{Transaction}} listener is 
not really possible.  I created TINKERPOP3-790 to add {{AutoCloseable}} to 
{{TraversalSource}} which will give us that hook to do the removal.  Bumped 
this change to 3.1.0 since it required an API change.

> Better Enforce Semantics of a Listener per Transaction
> ------------------------------------------------------
>
>                 Key: TINKERPOP3-765
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-765
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process, structure
>    Affects Versions: 3.0.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>             Fix For: 3.1.0-incubating
>
>
> {{EventStrategy}} uses the listeners available on {{Transaction}} 
> implementations to know when events should be fired (i.e. per transaction).  
> Validate that there are no listener leaks in this model and consider methods 
> for improvement if possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to