Added some more doc about reusing HBC

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1088821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2011-04-04 23:34:33 +00:00
parent 783029da33
commit b9ee682e70
1 changed files with 3 additions and 2 deletions

View File

@ -69,9 +69,10 @@ import org.apache.zookeeper.KeeperException;
* *
* <p>Instances of HTable passed the same {@link Configuration} instance will * <p>Instances of HTable passed the same {@link Configuration} instance will
* share connections to servers out on the cluster and to the zookeeper ensemble * share connections to servers out on the cluster and to the zookeeper ensemble
* as well as caches of region locations. This is usually a *good* thing. * as well as caches of region locations. This is usually a *good* thing and it
* is recommended to reuse the same configuration object for all your tables.
* This happens because they will all share the same underlying * This happens because they will all share the same underlying
* {@link HConnection} instance. See {@link HConnectionManager} for more on * {@link HConnection} instance. See {@link HConnectionManager} for more on
* how this mechanism works. * how this mechanism works.
* *
* <p>{@link HConnection} will read most of the * <p>{@link HConnection} will read most of the