Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7555

Move API for creating and finding Pools to ClientCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • client/server
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              upthewaterspout Dan Smith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: