[
https://issues.apache.org/jira/browse/HBASE-19029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220404#comment-16220404
]
Duo Zhang commented on HBASE-19029:
-----------------------------------
Thanks [~stack] for taking this up. Sorry that I'm busy with the CP changes for
alpha4 so do not have much time to review the patch.
Thanks [~psomogyi] for the contributing.
> Align RPC timout methods in Table and AsyncTableBase
> ----------------------------------------------------
>
> Key: HBASE-19029
> URL: https://issues.apache.org/jira/browse/HBASE-19029
> Project: HBase
> Issue Type: Sub-task
> Components: asyncclient, Client
> Affects Versions: 2.0.0-alpha-3
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Critical
> Fix For: 2.0.0-alpha-4
>
> Attachments: HBASE-19029.master.001.patch,
> HBASE-19029.master.002.patch, HBASE-19029.master.002.patch,
> HBASE-19029.master.003.patch, HBASE-19029.master.003.patch,
> HBASE-19029.master.003.patch, HBASE-19029.master.004.patch
>
>
> Table and AsyncTableBase have similar RPC timeout methods but the async
> version supports TimeUtils to be passed.
> To align these 2 interfaces lets depricate the existing methods in Table and
> add the ones that are currently in AsyncTableBase.
> These methods are the following:
> * long getRpcTimeout(TimeUnit unit)
> * long getReadRpcTimeout(TimeUnit unit)
> * long getWriteRpcTimeout(TimeUnit unit)
> * long getOperationTimeout(TimeUnit unit)
> We do not have {{long getScanTimeout(TimeUnit unit)}} since scan is handled
> differently.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)