org.apache.hadoop.hbase.client
Class ServerConnectionManager
java.lang.Object
org.apache.hadoop.hbase.client.HConnectionManager
org.apache.hadoop.hbase.client.ServerConnectionManager
public class ServerConnectionManager
- extends HConnectionManager
Used by server processes to expose HServerConnection method
so can call HConnectionManager#setRootRegionLocation
Method Summary |
static ServerConnection |
getConnection(org.apache.hadoop.conf.Configuration 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 |
getConnection
public static ServerConnection getConnection(org.apache.hadoop.conf.Configuration conf)
- Get the connection object for the instance specified by the configuration
If no current connection exists, create a new connection for that instance
- Parameters:
conf
- configuration
- Returns:
- HConnection object for the instance specified by the configuration
Copyright © 2010 Apache Software Foundation. All Rights Reserved.