hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cuijianwei (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7705) Can we make the method getCurrentPoolSize of HTablePool public?
Date Tue, 29 Jan 2013 11:45:12 GMT
cuijianwei created HBASE-7705:
---------------------------------

             Summary: Can we make the method getCurrentPoolSize of HTablePool public?
                 Key: HBASE-7705
                 URL: https://issues.apache.org/jira/browse/HBASE-7705
             Project: HBase
          Issue Type: Wish
          Components: Client
    Affects Versions: 0.94.3
            Reporter: cuijianwei
            Priority: Minor


We use HTablePool to manager opened HTable in our applications. We want to track the usage
of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize
could help us:
{code}
  int getCurrentPoolSize(String tableName) {
    return tables.size(tableName);
  }
{code}
However, this method could only be called in the hbase client package. Can we make this method
public?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message