commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodney Waldhoff <rwaldh...@apache.org>
Subject Re: infinite loop next post
Date Thu, 24 Apr 2003 17:31:02 GMT
As above, this javadoc needs a slight update.  When a newly created object
fails to validate, NoSuchElementException is thrown.

- Rod <http://radio.weblogs.com/0122027/>

On Thu, 24 Apr 2003, LAMY Olivier wrote:

> I see this in the javadoc :
>
> When testOnBorrow is set, the pool will attempt to validate each object
> before it is returned from the borrowObject() method. (Using the provided
> factory's PoolableObjectFactory.validateObject(java.lang.Object) method.)
> Objects that fail to validate will be dropped from the pool, and a different
> object will be borrowed.
>
> This means that a infinite loop is generated if the it's impossible to
> validate the object or it try to make an object until the max wait ??
> Olivier
>
>
> **********************************************************************
> Ce message électronique et tous les fichiers joints ainsi que  les information contenues
dans ce message ( ci après "le message" ), sont confidentiels et destinés exclusivement
à l'usage de la  personne à laquelle ils sont adressés. Si vous avez reçu ce message par
erreur, merci  de le renvoyer à son émetteur et de le détruire. Toute diffusion, publication,
totale ou partielle ou divulgation sous quelque forme que se soit non expressément autorisées
de ce message, sont interdites.
> **********************************************************************
> This e-mail, any attachments and the information contained therein ("this message") are
confidential and intended solely for the use of the addressee(s). If you have received this
message in error please send it back to the sender and delete it. Unauthorized publication,
use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

Mime
View raw message