3838/**
3939 * A cluster connection. Knows how to find the master, locate regions out on the cluster,
4040 * keeps a cache of locations and then knows how to re-calibrate after they move. You need one
41- * of these to talk to your HBase cluster. {@link HConnectionManager } manages instances of this
41+ * of these to talk to your HBase cluster. {@link ConnectionFactory } manages instances of this
4242 * class. See it for how to get one of these.
4343 *
4444 * <p>This is NOT a connection to a particular server but to ALL servers in the cluster. Individual
4949 * HConnection instances can be shared. Sharing
5050 * is usually what you want because rather than each HConnection instance
5151 * having to do its own discovery of regions out on the cluster, instead, all
52- * clients get to share the one cache of locations. {@link HConnectionManager } does the
52+ * clients get to share the one cache of locations. {@link ConnectionManager } does the
5353 * sharing for you if you go by it getting connections. Sharing makes cleanup of
54- * HConnections awkward. See {@link HConnectionManager } for cleanup discussion.
54+ * HConnections awkward. See {@link ConnectionFactory } for cleanup discussion.
5555 *
56- * @see HConnectionManager
56+ * @see ConnectionManager
57+ * @see ConnectionFactory
5758 * @deprecated in favor of {@link Connection} and {@link ConnectionFactory}
5859 */
5960@ InterfaceAudience .Public
@@ -79,7 +80,7 @@ public interface HConnection extends Connection {
7980 * This is a lightweight operation, pooling or caching of the returned HTableInterface
8081 * is neither required nor desired.
8182 * Note that the HConnection needs to be unmanaged
82- * (created with {@link HConnectionManager #createConnection(Configuration)}).
83+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
8384 * @param tableName
8485 * @return an HTable to use for interactions with this table
8586 */
@@ -92,7 +93,7 @@ public interface HConnection extends Connection {
9293 * This is a lightweight operation, pooling or caching of the returned HTableInterface
9394 * is neither required nor desired.
9495 * Note that the HConnection needs to be unmanaged
95- * (created with {@link HConnectionManager #createConnection(Configuration)}).
96+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
9697 * @param tableName
9798 * @return an HTable to use for interactions with this table
9899 */
@@ -105,7 +106,7 @@ public interface HConnection extends Connection {
105106 * This is a lightweight operation, pooling or caching of the returned HTableInterface
106107 * is neither required nor desired.
107108 * Note that the HConnection needs to be unmanaged
108- * (created with {@link HConnectionManager #createConnection(Configuration)}).
109+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
109110 * @param tableName
110111 * @return an HTable to use for interactions with this table
111112 */
@@ -119,7 +120,7 @@ public interface HConnection extends Connection {
119120 * This is a lightweight operation, pooling or caching of the returned HTableInterface
120121 * is neither required nor desired.
121122 * Note that the HConnection needs to be unmanaged
122- * (created with {@link HConnectionManager #createConnection(Configuration)}).
123+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
123124 * @param tableName
124125 * @param pool The thread pool to use for batch operations, null to use a default pool.
125126 * @return an HTable to use for interactions with this table
@@ -133,7 +134,7 @@ public interface HConnection extends Connection {
133134 * This is a lightweight operation, pooling or caching of the returned HTableInterface
134135 * is neither required nor desired.
135136 * Note that the HConnection needs to be unmanaged
136- * (created with {@link HConnectionManager #createConnection(Configuration)}).
137+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
137138 * @param tableName
138139 * @param pool The thread pool to use for batch operations, null to use a default pool.
139140 * @return an HTable to use for interactions with this table
@@ -147,7 +148,7 @@ public interface HConnection extends Connection {
147148 * This is a lightweight operation, pooling or caching of the returned HTableInterface
148149 * is neither required nor desired.
149150 * Note that the HConnection needs to be unmanaged
150- * (created with {@link HConnectionManager #createConnection(Configuration)}).
151+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
151152 * @param tableName
152153 * @param pool The thread pool to use for batch operations, null to use a default pool.
153154 * @return an HTable to use for interactions with this table
@@ -163,7 +164,7 @@ public interface HConnection extends Connection {
163164 * required nor desired.
164165 *
165166 * RegionLocator needs to be unmanaged
166- * (created with {@link HConnectionManager #createConnection(Configuration)}).
167+ * (created with {@link ConnectionFactory #createConnection(Configuration)}).
167168 *
168169 * @param tableName Name of the table who's region is to be examined
169170 * @return A RegionLocator instance
0 commit comments