commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Delfosse Julien <Julien.Delfo...@UCB-Group.com>
Subject GenericKeyedObjectPool synchronization
Date Thu, 22 Apr 2004 11:49:31 GMT
Hi,

first of all, thanks for making these kewl components available, these are
really helpfull.

I have to manage a pool of objects (documentum sessions) that will be keyed
(using the user principal as key)

I have noticed that the borrowObject method of the GenericKeyedObjectPool is
synchronized and that will cause unacceptable performance problems on our
applications, since we manage a big number of concurrent users, borrowObject
would definitely be a bottle neck.

Is anyone aware of an implementation of KeyedObjectPool that allows
concurrent access to the borrowObject method ?

Thanks in advance.

Julien Delfosse


--------------------------------------------------------- 
Legal Notice: This electronic mail and its attachments are intended solely
for the person(s) to whom they are addressed and contain information which
is confidential or otherwise protected from disclosure, except for the
purpose they are intended to. Dissemination, distribution, or reproduction
by anyone other than their intended recipients is prohibited and may be
illegal. If you are not an intended recipient, please immediately inform the
sender and send him/her back the present e-mail and its attachments and
destroy any copies which may be in your possession. 
---------------------------------------------------------

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message