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

Bela Ban (JIRA) jira-events at jboss.com
Wed Dec 13 08:06:38 EST 2006


TLS: 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.5


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