> Done:
>>
>> https://issues.apache.org/jira/browse/POOL-183
>>
>>
>>
>>
>> - Original Message
>> From: Phil Steitz
>> To: Commons Developers List
>> Sent: Wed, February 2, 2011 2:18:52 PM
>> Subject: Re: [pool] p
Original Message
> From: Phil Steitz
> To: Commons Developers List
> Sent: Wed, February 2, 2011 2:18:52 PM
> Subject: Re: [pool] potential new method for interface ObjectPool
>
> On 2/2/11 1:46 PM, zoly farkas wrote:
>> Would it be possible to add a method:
>>
Done:
https://issues.apache.org/jira/browse/POOL-183
- Original Message
From: Phil Steitz
To: Commons Developers List
Sent: Wed, February 2, 2011 2:18:52 PM
Subject: Re: [pool] potential new method for interface ObjectPool
On 2/2/11 1:46 PM, zoly farkas wrote:
> Would it
On 2/2/11 1:46 PM, zoly farkas wrote:
> Would it be possible to add a method:
>
> void returnAndValidateObject(T obj) throws Exception
>
> In general I was thinking of the following use case:
>
> Object o = pool.borrowObject();
> try
> {
> .
> o.doStuff();
> .
> pool
Would it be possible to add a method:
void returnAndValidateObject(T obj) throws Exception
In general I was thinking of the following use case:
Object o = pool.borrowObject();
try
{
.
o.doStuff();
.
pool.returnObject(o);
}
catch(Exception e)
{
// not sure what