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/03 00:55:00 UTC

[jira] [Commented] (GEODE-4531) Remove singleton calls from product code in org.apache.geode.admin.internal

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