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-3594) refactor SearchLoadAndWriteProcessor to not use CacheFactory.getInstance
Date Tue, 14 Nov 2017 00:40:02 GMT

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

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

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

GEODE-3594: remove calls of getInstance (#1029)

GEODE-3594: remove calls of getInstance

DM.getExistingCache is now used instead.

> refactor SearchLoadAndWriteProcessor to not use CacheFactory.getInstance
> ------------------------------------------------------------------------
>
>                 Key: GEODE-3594
>                 URL: https://issues.apache.org/jira/browse/GEODE-3594
>             Project: Geode
>          Issue Type: Sub-task
>          Components: regions
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>             Fix For: 1.4.0
>
>
> The following methods all call CacheFactory.getInstance and could instead call "dm.getCache":
> org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.NetSearchRequestMessage.doGet(DistributionManager)
> org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.QueryMessage.doGet(DistributionManager)
twice
> org.apache.geode.internal.cache.SearchLoadAndWriteProcessor.NetLoadRequestMessage.doLoad(DistributionManager)



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

Mime
View raw message