You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/09/11 22:23:00 UTC

[jira] [Commented] (GEODE-3592) CommitFunction.execute should not call CacheFactory.getAnyInstance

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

Darrel Schneider commented on GEODE-3592:
-----------------------------------------

same for: org.apache.geode.internal.cache.NestedTransactionFunction.execute(FunctionContext)
and: org.apache.geode.internal.cache.RollbackFunction.execute(FunctionContext)


> 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
>
> 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)