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/10 00:38:00 UTC

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

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

Darrel Schneider commented on GEODE-4555:
-----------------------------------------

I have a fix for ShutdownAllRequest.

I do not know how to fix ClientStatsManager. It is designed to wake up periodically and check if the cache singleton has changed. If it has then it registers some client stats with the new cache. If we could drop having pools exist before the cache does then pools would only need to register client stats with their cache and this code could be greatly simplified

> Remove singleton calls from product code in org.apache.geode.internal.admin
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-4555
>                 URL: https://issues.apache.org/jira/browse/GEODE-4555
>             Project: Geode
>          Issue Type: Sub-task
>          Components: client/server, core
>            Reporter: Kirk Lund
>            Assignee: Darrel Schneider
>            Priority: Major
>
> These product classes in org.apache.geode.internal.admin invoke singleton getters.
> GemFireCacheImpl.getInstance():
> * ClientStatsManager
> * ShutdownAllRequest



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