Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-16640

TimeoutBlockingQueue#remove() should return whether the entry is removed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently return type of TimeoutBlockingQueue#remove() is void.
      The caller has no way of knowing whether the entry is really removed.

      This issue changes the return type to boolean. True is returned when entry is removed, false is returned otherwise.

      The change was proposed first in HBASE-16639.

      Attachments

        1. 16640.v2.txt
          3 kB
          Ted Yu
        2. 16640.v1.txt
          2 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: