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:
parent
783029da33
commit
b9ee682e70
|
@ -69,9 +69,10 @@ import org.apache.zookeeper.KeeperException;
|
|||
*
|
||||
* <p>Instances of HTable passed the same {@link Configuration} instance will
|
||||
* 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
|
||||
* {@link HConnection} instance. See {@link HConnectionManager} for more on
|
||||
* {@link HConnection} instance. See {@link HConnectionManager} for more on
|
||||
* how this mechanism works.
|
||||
*
|
||||
* <p>{@link HConnection} will read most of the
|
||||
|
|
Loading…
Reference in New Issue