Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2765

TransferQueueBundler: option to drop messages when queue is full

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 5.3.4, 5.2.23
    • None
    • None
    • False
    • None
    • False

      TransferQueueBundler calls BlockingQueue.add() to add a message. When the queue is full, this blocks the caller until there's space in the queue, or the bundler is stopped.
      Sometime, dropping a message might be better, to prevent many threads being blocked on the full queue. Messages will be retransmitted anyway.
      Therefore add an option to TransferQueueBundler to drop messages (BlockingQueue.offer() instead of BlockingQueue.add()) when the queue is full.
      This should also be added to TP as an attribute.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: