You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2018/01/17 23:37:00 UTC

[jira] [Created] (GEODE-4307) Remove static calls to GemFireCacheImpl.getForPdx

Dan Smith created GEODE-4307:
--------------------------------

             Summary: Remove static calls to GemFireCacheImpl.getForPdx
                 Key: GEODE-4307
                 URL: https://issues.apache.org/jira/browse/GEODE-4307
             Project: Geode
          Issue Type: Sub-task
            Reporter: Dan Smith


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)