Salut,
I have a question about OutboundConnectionCacheBlockingImpl.
I think it uses too many synchronized methods, and it may cause
performance problem consequently.
I have not enough knowledge about this class (too complicated),
but it seems to me that most of synchronized blocks are not needed,
if internally used two HashMaps change to ConcurrentHashMap.
I also do not undertand the way ConnectionCacheBlockingBase,
a super class of OutboundConnectionCacheBlockingImpl, uses
synchronized blocks. It uses synchronized because it must serialize
access to totalBusy and totalIdle variables. Though,
OutboundConnectionCacheBlockingImpl changes both variables
directly, because they are protected variables. What is the
intended code here?
Thanks.
Minoru