commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject Re: [pool] should addObject return a boolean?
Date Wed, 21 Sep 2011 07:20:07 GMT
Phil Steitz <phil.steitz@gmail.com> wrote:

>When GKOP or GOP pools lack capacity, addObject does nothing.  In
>some cases (I am dealing with one now internally to GKOP), it would
>be good to know if an instance was actually added or not.  How about
>changing the interface (both OP and KOP versions) to return a
>boolean with true indicating that a new instance was actually
>created and added to the pool?
>
>Phil
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>For additional commands, e-mail: dev-help@commons.apache.org

+1
Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message