Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Operating System: All
Platform: All
-
38669
Description
Attached are the pool 2.0 changes I'd like to see to the ObjectPoolFactory
and the KeyedObjectPoolFactory interfaces. The noteworthy change is:
- ObjectPoolFactorys.createPool is declared to throw an IllegalStateException
when the factory is misconfigured. ISE is a RuntimeException and adding this
will not break API compatability, it's really just for helping client code know
what to expect.