Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19B57E619 for ; Wed, 30 Jan 2013 01:18:12 +0000 (UTC) Received: (qmail 11728 invoked by uid 500); 30 Jan 2013 01:18:11 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 11691 invoked by uid 500); 30 Jan 2013 01:18:11 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 11679 invoked by uid 99); 30 Jan 2013 01:18:11 -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 01:18:11 +0000 Date: Wed, 30 Jan 2013 01:18:11 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-7705) Can we 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:comment-tabpanel&focusedCommentId=13566037#comment-13566037 ] Andrew Purtell commented on HBASE-7705: --------------------------------------- +1 > 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 > 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