[ 
https://issues.apache.org/jira/browse/GEODE-3592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250568#comment-16250568
 ] 

ASF subversion and git services commented on GEODE-3592:
--------------------------------------------------------

Commit 3bc8c1a59e32c47e9f3a661023397c269602f8ad in geode's branch 
refs/heads/feature/GEODE-3940 from [~dschneider]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=3bc8c1a ]

GEODE-3592: remove getAnyInstance call (#1026)

GEODE-3592: remove getAnyInstance call

Now uses FunctionContext.getCache instead
and check if that cache has been cancelled.


> CommitFunction.execute should not call CacheFactory.getAnyInstance
> ------------------------------------------------------------------
>
>                 Key: GEODE-3592
>                 URL: https://issues.apache.org/jira/browse/GEODE-3592
>             Project: Geode
>          Issue Type: Sub-task
>          Components: transactions
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>             Fix For: 1.4.0
>
>
> The execute method is passed an instance of FunctionContext which has a 
> getCache method. So it should be easy to call getCache instead of 
> getAnyInstance. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to