hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19029) Align RPC timout methods in Table and AsyncTableBase
Date Tue, 17 Oct 2017 20:27:00 GMT
Peter Somogyi created HBASE-19029:

             Summary: 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

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

View raw message