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

TransferQueueBundler: option to drop messages when queue is full

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: