Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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