Index: hbase-server/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java =================================================================== --- hbase-server/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java (revision 1417791) +++ hbase-server/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java (working copy) @@ -41,24 +41,18 @@ /** * A simple pool of HTable instances. - * + *

* Each HTablePool acts as a pool for all tables. To use, instantiate an * HTablePool and use {@link #getTable(String)} to get an HTable from the pool. - * - * This method is not needed anymore, clients should call - * HTableInterface.close() rather than returning the tables to the pool - * - * Once you are done with it, close your instance of {@link HTableInterface} - * by calling {@link HTableInterface#close()} rather than returning the tables - * to the pool with (deprecated) {@link #putTable(HTableInterface)}. - * *

+ * Once you are done with a table from the pool, return the instance to the + * pool by calling {@link HTableInterface#close()}. + *

* A pool can be created with a maxSize which defines the most HTable * references that will ever be retained for each table. Otherwise the default * is {@link Integer#MAX_VALUE}. - * *

- * Pool will manage its own connections to the cluster. See + * A pool will manage its own connections to the cluster. See * {@link HConnectionManager}. */ @InterfaceAudience.Public