dev@grizzly.java.net

Re: A question about outbound connection cache

From: Minoru Nitta <minoru.nitta_at_jp.fujitsu.com>
Date: Tue, 17 Feb 2009 08:08:48 +0900

Hi,


 Thank you for your reply. I will make a test program to reproduce
the problem ASAP.

> Hi,
>
> >
> > I have a question about outbound connection cahce implementation.
> >
> > http://blogs.sun.com/oleksiys/entry/connection_management_cache_in_grizzly
> >
> >
> > I have tested it and it works fine in most cases. But sometimes it
> > caused unexpected
> > results. I am trying to understand the source code regarding this
> > feature, and I
> > foud out the point which may cause the problem.
> >
> > In OutboundConnectionCacheBlockingImpl, there is a HashMap called
> > entryMap
> > whose key is ContactInfo(actually it is a CacheableConnectorHandler).
> Hmm, AFAIR it should not be CacheableConnectorHandler in HashMap, but
> some real TCP or UDP ConnectorHandler.
> Can you pls. provide more details on this issue and some links to the
> code?
>
> Thank you very much.
>
> WBR,
> Alexey.
>
>