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

Darrel Schneider commented on GEODE-4531:
-----------------------------------------

Both of these are passed the DistributionManager so it would be easy for them 
to call getCache on it.

> Remove singleton calls from product code in org.apache.geode.admin.internal
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-4531
>                 URL: https://issues.apache.org/jira/browse/GEODE-4531
>             Project: Geode
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>            Priority: Major
>
> These product classes in org.apache.geode.admin.internal invoke singleton 
> getters.
> CacheFactory.getAnyInstance():
> * MemberHealthEvaluator
> CacheFactory.getInstance(DistributedSystem):
> * CacheHealthEvaluator



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to