You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/12/29 18:16:49 UTC

[jira] [Closed] (TINKERPOP-1062) Make LifeCycle beforeEval execute in same thread as eval operation

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

stephen mallette closed TINKERPOP-1062.
---------------------------------------
    Resolution: Implemented

> Make LifeCycle beforeEval execute in same thread as eval operation
> ------------------------------------------------------------------
>
>                 Key: TINKERPOP-1062
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1062
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: groovy
>    Affects Versions: 3.1.0-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Minor
>             Fix For: 3.1.1-incubating
>
>
> {{GremlinExecutor}} currently performs its {{beforeEval}} event outside of the thread that does the {{eval()}} itself.  This can be problematic, if a user wants to make configurations specific to that {{eval()}} thread of execution or alter bindings via {{ThreadLocal}}. 
> It's worth noting that this isn't a major change (basically moving a line of code) and should not break any existing use cases.  Pretty simple.



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