[jboss-jira] [JBoss JIRA] Updated: (JGRP-381) Concurrent stack: all queues for thread pools should use number of bytes rather than number of messages

Bela Ban (JIRA) jira-events at jboss.com
Wed Jan 10 12:10:27 EST 2007


     [ http://jira.jboss.com/jira/browse/JGRP-381?page=all ]

Bela Ban updated JGRP-381:
--------------------------

    Fix Version/s: 2.6
                       (was: 2.5)

> Concurrent stack: all queues for thread pools should use number of bytes rather than number of messages
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JGRP-381
>                 URL: http://jira.jboss.com/jira/browse/JGRP-381
>             Project: JGroups
>          Issue Type: Feature Request
>    Affects Versions: 2.4
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.6
>
>
> Instead of defining a max number of elements in a queue BoundedBlockingQueue (used by thread pool), we define a number of bytes. If that number is exceeded, we block on put()/offer(), and only unblock if a take() has removed N number of bytes so we can add our message without exceeding the limit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list