|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.client.HConnectionManager
public class HConnectionManager
A non-instantiable class that manages connections to multiple tables in
multiple HBase instances.
Used by HTable
and HBaseAdmin
Field Summary |
---|
Method Summary | |
---|---|
static void |
deleteConnectionInfo()
Clear the static map of connection info. |
static void |
deleteConnectionInfo(HBaseConfiguration conf)
Delete connection information for the instance specified by the configuration |
static HConnection |
getConnection(HBaseConfiguration conf)
Get the connection object for the instance specified by the configuration If no current connection exists, create a new connection for that instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static HConnection getConnection(HBaseConfiguration conf)
conf
-
public static void deleteConnectionInfo(HBaseConfiguration conf)
conf
- public static void deleteConnectionInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |