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

Maintain size field in MessageBatch

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.2
    • None
    • None
    • False
    • False

      MessageBatch.isEmpty() and other methods have to iterate through the batch (until the first non-null message is found, or until index has been reached).
      Adding and maintaining a size field to MessageBatch eliminates or reduces the number of iterations that have to be done.

              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: