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

Miscellaneous changes to ClientScanner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha-1
    • 2.0.0-beta-2, 2.0.0
    • None
    • None
    • Patch

    Description

      1. Remove superfluous logging code guard
      2. Simplify some of the code
      3. Use ArrayDeque instead of LinkedList for queue implementation

      https://docs.oracle.com/javase/8/docs/api/index.html?java/util/ArrayDeque.html

      Resizable-array implementation of the Deque interface. Array deques have no capacity restrictions; they grow as necessary to support usage. They are not thread-safe; in the absence of external synchronization, they do not support concurrent access by multiple threads. Null elements are prohibited. This class is likely to be faster than Stack when used as a stack, and faster than LinkedList when used as a queue.

      Attachments

        1. HBASE-19473.1.patch
          4 kB
          David Mollitor
        2. HBASE-19473.2.patch
          7 kB
          David Mollitor
        3. HBASE-19473.3.patch
          7 kB
          David Mollitor

        Activity

          People

            belugabehr David Mollitor
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: