commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject [pool] should addObject return a boolean?
Date Wed, 21 Sep 2011 02:53:06 GMT
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


Mime
View raw message