[ 
https://issues.apache.org/jira/browse/HBASE-16597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15478920#comment-15478920
 ] 

Heng Chen commented on HBASE-16597:
-----------------------------------

The param 'pool'  seems useless in AP.submitAll and AP.submit,   the two public 
interface only be called in HTable,  and HTable could only be initialized in 
Connection,  and we created one pool in Connection and pass it to AP and 
HTable, so there is no need pass pool again in AP.submitAll and AP.submit.   

So we could remove some interfaces in AP, oh yeah! :)   

will upload the patch after HBASE-16596 merged.   

> Revisit the threadPool is really needed in submitAll and submit interface in 
> AsyncProcess
> -----------------------------------------------------------------------------------------
>
>                 Key: HBASE-16597
>                 URL: https://issues.apache.org/jira/browse/HBASE-16597
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Heng Chen
>
> Currently,  threadPool could be passed into AP by constructor and submitAll, 
> submit interfaces,  but i notice in HTable the pool passed to AP though 
> submitAll looks same with the one in AP as default,  Let me revisit it to 
> ensure whether the pool is really needed in submitAll and submit interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to