Dan Smith created GEODE-7555:
--------------------------------

             Summary: Move API for creating and finding Pools to ClientCache
                 Key: GEODE-7555
                 URL: https://issues.apache.org/jira/browse/GEODE-7555
             Project: Geode
          Issue Type: Bug
          Components: client/server
            Reporter: Dan Smith


Currently, users must use the static PoolManager class to create and lookup 
Pools on the client side. This is problematic for several reasons:

1. PoolManager is hard to mock because it consists of static methods
2. Being a static singleton with state, PoolManager locks the client into only 
having one PoolManager and associated ClientCache.
3. The lifecycle of Pools in the PoolManager is strange, they can be created 
before or after the ClientCache, but they are destroyed when the ClientCache is 
destroyed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to