On Mon, 08 Jan 2007 20:43:44 -0500, Barrie Selack wrote:
I was looking at Commons Pool for some SOAP/HTTP connection objects. Is
anyone using Pool/ Any hint/tips/warnings etc?
I'm using it extensively for all sorts of things and it works fine. I'm a
fan of the factory-back lifecycle model
Hi Sandy,
On Sat, 28 Oct 2006 21:12:06 -0400, Sandy McArthur wrote:
The next release of pool has a KeyedObjectPool implementation that
basically uses a monitor per key. There is a global monitor for
accessing the the internal pool for the key but it is very briefly held.
This code has been
I'm having a bit of a problem understanding a scenario for
GenericKeyedObjectPool. I need to WHEN_EXHAUSTED_BLOCK with a GKOP that is
used from multiple threads, but I cannot see how a blocking borrow(key)
can ever continue when another thread tries to returnObject(key, object),
as the methods
On Sat, 28 Oct 2006 17:15:41 +0100, Marc Carter wrote:
I cannot see how a blocking borrow(key)
can ever continue when another thread tries to returnObject(key, object)
borrowObject() calls Object.wait() which allows other threads access to
the locked object (as opposed to Thread.sleep() which
Sandy,
thanks for your reply.
On Sat, 09 Sep 2006 22:53:00 -0400, Sandy McArthur wrote:
I have been following this plan for pool:
http://wiki.apache.org/jakarta-commons/PoolRoadMap The current plan isn't
to require jdk 5 until Pool 3.0.
OK. I don't agree but I guess that's my problem. ;-)
Hi,
Are there any implementations of StackObjectPool/KeyedStackObjectPool that
make use of ConcurrentHashMap, Lock and especially the lock-free
ConcurrentLinkedQueue instead Vector? I cannot imagine I'm the only one
who would like to see these, maybe as an optional jdk5 extension or
initial 2.0
On Fri, 09 Jun 2006 01:42:33 +0200, Hendrik Maryns wrote:
I want to use ReferenceMap, and am working on a Java 1.5 project, where I
heavily use generics. So I decided to generify (part of) the commons
collections classes. While doing so, I stumbled on a problem that would
not be generified.
On Tue, 23 May 2006 23:23:13 +0200, Oliver Zeigermann wrote:
However I think performance could be considerably improved if there were
to be a movement over to one of Doug Lea's kinds of Concurrent Hashmaps,
probably from his older oswego or backport packages so we could
maintain JDK 1.4
On Wed, 24 May 2006 10:56:24 +0200, Oliver Zeigermann wrote:
2006/5/24, Holger Hoffstaette [EMAIL PROTECTED]:
On Tue, 23 May 2006 23:23:13 +0200, Oliver Zeigermann wrote:
However I think performance could be considerably improved if there
were to be a movement over to one of Doug Lea's