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

Reply via email to