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

Reply via email to