geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3592) CommitFunction.execute should not call CacheFactory.getAnyInstance
Date Thu, 09 Nov 2017 19:19:00 GMT

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

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

Commit 3bc8c1a59e32c47e9f3a661023397c269602f8ad in geode's branch refs/heads/develop 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)

Mime
View raw message