Author: liyin
Date: Thu May  9 18:18:28 2013
New Revision: 1480734

URL: http://svn.apache.org/r1480734
Log:
[HBASE-8512] Make getCurrentPoolSize public

Author: shaneh

Summary: Makes the HTablePool function public.

Test Plan: Tested on my dev server.

Reviewers: liyintang, jungejason

Reviewed By: jungejason

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D804891

Modified:
    
hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java

Modified: 
hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
URL: 
http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java?rev=1480734&r1=1480733&r2=1480734&view=diff
==============================================================================
--- 
hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
 (original)
+++ 
hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
 Thu May  9 18:18:28 2013
@@ -156,7 +156,7 @@ public class HTablePool {
     closeTablePool(Bytes.toString(tableName));
   }
 
-  int getCurrentPoolSize(String tableName) {
+  public int getCurrentPoolSize(String tableName) {
     Queue<HTableInterface> queue = tables.get(tableName);
     synchronized(queue) {
       return queue.size();


Reply via email to