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 2018/02/09 23:24:00 UTC
[jira] [Commented] (GEODE-4541) Remove singleton calls from regions
product code in org.apache.geode.internal.cache
[ https://issues.apache.org/jira/browse/GEODE-4541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359090#comment-16359090 ]
Darrel Schneider commented on GEODE-4541:
-----------------------------------------
the CacheServerLauncher one looks easy. Just call system.getCache() right after:
system = (InternalDistributedSystem) system.getReconnectedSystem();
> Remove singleton calls from regions product code in org.apache.geode.internal.cache
> -----------------------------------------------------------------------------------
>
> Key: GEODE-4541
> URL: https://issues.apache.org/jira/browse/GEODE-4541
> Project: Geode
> Issue Type: Sub-task
> Components: regions
> Reporter: Kirk Lund
> Priority: Major
>
> These regions product classes in org.apache.geode.internal.cache invoke singleton getters.
> GemFireCacheImpl.getInstance():
> * CacheServerLauncher
> * EntryEventImpl
> * GemFireCacheImpl
> * DistributedPutAllOperation
> InternalDistributedSystem.getAnyInstance():
> * EventStateHelper
> * GemFireCacheImpl
> * PartitionAttributesImpl
> * PartitionedRegionHelper
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)