[ https://issues.apache.org/jira/browse/POOL-355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16666356#comment-16666356 ]
Mark Struberg commented on POOL-355: ------------------------------------ I like the code but I would rather make the {{int getMaxNumActive()}} method in the {{ObjectPool}} interface a default method. And this requires to bump our min requirement from 1.7 to Java8. Discussion is on the list. > Add maxNumActive to pool config > ------------------------------- > > Key: POOL-355 > URL: https://issues.apache.org/jira/browse/POOL-355 > Project: Commons Pool > Issue Type: Improvement > Affects Versions: 2.6.0 > Reporter: Benjamin Graf > Priority: Major > > To give a pool the "correct" size it is mandatory to know in which bounds > pooled object size is lying. Therefor a overall count of historical maximum > of active objects sounds needed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)