Jean-François Daune <[EMAIL PROTECTED]> a écrit :

Trustin Lee wrote:

Hi J-F,

2005/10/17, [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:

    I would like to suggest some additional changes (cf. attachment)

    This allows modifying the SessionBuffer selection criteria. I
modifies BastThreadPool as you requested.  Additionally, I replaces
BlockingSet with BlockingQueue because it is more efficient in usual
case.  Please override BaseThreadPool.fetchSessionBuffer().

Cheers,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Thanks a lot for responsiveness !!

J-F

The fact that fetchSessionBuffer takes a Queue prevents easy
manipulation of the
collection.

There is no way to remove an element at index i, other than popping all
elements
before and pushing them back (actually a queue implies FIFO strategy)

J-F



Reply via email to