You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:56:12 UTC
[jira] [Closed] (GEODE-4307) Remove static calls to
GemFireCacheImpl.getForPdx
[ https://issues.apache.org/jira/browse/GEODE-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4307.
--------------------------------
> Remove static calls to GemFireCacheImpl.getForPdx
> -------------------------------------------------
>
> Key: GEODE-4307
> URL: https://issues.apache.org/jira/browse/GEODE-4307
> Project: Geode
> Issue Type: Sub-task
> Components: serialization
> Reporter: Dan Smith
> Assignee: Dan Smith
> Priority: Major
> Labels: pull-request-available
>
> GemFireCacheImpl actually has *two* static instance variables - on called instance and the other called pdxInstance.
> It's bad enough that we have one static instance variable, but this pdxVariable seems to be a hack to avoid race conditions related to shutting down the cache.
> If the places that need to call getForPdx can just use a cache that they already have access to, they won't need this hack.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)