hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-19473) Review of ClientScanner Class
Date Sun, 10 Dec 2017 02:57:00 GMT

     [ https://issues.apache.org/jira/browse/HBASE-19473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

BELUGA BEHR updated HBASE-19473:
--------------------------------
    Summary: Review of ClientScanner Class  (was: Review of ClientScanner)

> Review of ClientScanner Class
> -----------------------------
>
>                 Key: HBASE-19473
>                 URL: https://issues.apache.org/jira/browse/HBASE-19473
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbase
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>
> # Remove superfluous logging code guard
> # Simplify some of the code
> # Use ArrayDeque instead of LinkedList for queue implementation
> https://docs.oracle.com/javase/8/docs/api/index.html?java/util/ArrayDeque.html
> {quote}
> 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.*
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message