org.apache.hadoop.hbase.client
Class ServerConnectionManager

java.lang.Object
  extended by org.apache.hadoop.hbase.client.HConnectionManager
      extended by org.apache.hadoop.hbase.client.ServerConnectionManager

public class ServerConnectionManager
extends HConnectionManager

Used by server processes to expose HServerConnection method so can call HConnectionManager#setRootRegionLocation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.HConnectionManager
HConnectionManager.ClientZKWatcher
 
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 org.apache.hadoop.hbase.client.HConnectionManager
deleteAllConnections, deleteConnectionInfo, getClientZooKeeperWatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.