Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 634F5E217 for ; Wed, 30 Jan 2013 05:49:25 +0000 (UTC) Received: (qmail 59591 invoked by uid 500); 30 Jan 2013 05:49:23 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 59185 invoked by uid 500); 30 Jan 2013 05:49:22 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 58560 invoked by uid 99); 30 Jan 2013 05:49:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jan 2013 05:49:20 +0000 Date: Wed, 30 Jan 2013 05:49:20 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-7705) Make the method getCurrentPoolSize of HTablePool public MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-7705. ---------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Committed to 0.94 and 0.96. Thanks for the patch. > 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 > Assignee: cuijianwei > Priority: Minor > Fix For: 0.96.0, 0.94.5 > > Attachments: HBASE-7705-0.94.3.txt > > > 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