Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-169

POOL 2.0 suggested deprecations - deprecate direct access to protected fields, make factories immutable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.5
    • None

    Description

      This issue is intended to collect information on changes to Pool which will require deprecations and change of API.

      1. Lender.setCompositeObjectPool should be deprecated, and implementations should be changed to include setup of the pool in their ctors.
      2. composite.Manager.setCompositeObjectPool - ditto
      3. composite.ActiveLimitManager.setMaxActive
      4. CompositeObjectPool.setOwningCompositeKeyedObjectPool
      5. Pool factories (GenericObjectPoolFactory, GenericKeyedObjectPoolFactory, StackObjectPoolFactory, StackKeyedObjectPoolFactory) should be made immutable in Pool 2.0. Getters should be added for configuration properties and protected fields should be deprecated.
      6. Pool factories should be immutable - i.e., setFactory methods should be deprecated in pool implementations

      Attachments

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: