org.apache.hadoop.hbase
Class HConnectionManager

java.lang.Object
  extended by org.apache.hadoop.hbase.HConnectionManager
All Implemented Interfaces:
HConstants

public class HConnectionManager
extends Object
implements HConstants

A non-instantiable class that manages connections to multiple tables in multiple HBase instances


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.HConstants
ALL_VERSIONS, COL_REGIONINFO, COL_REGIONINFO_ARRAY, COL_SERVER, COL_SPLITA, COL_SPLITB, COL_STARTCODE, COLUMN_FAMILY, COLUMN_FAMILY_ARRAY, COLUMN_FAMILY_STR, DEFAULT_HBASE_DIR, DEFAULT_HOST, DEFAULT_MASTER_ADDRESS, DEFAULT_MASTER_INFOPORT, DEFAULT_MAX_FILE_SIZE, DEFAULT_REGION_SERVER_CLASS, DEFAULT_REGIONSERVER_ADDRESS, DEFAULT_REGIONSERVER_INFOPORT, EMPTY_START_ROW, EMPTY_TEXT, HBASE_DIR, HREGION_LOGDIR_NAME, HREGION_OLDLOGFILE_NAME, HREGIONDIR_PREFIX, LATEST_TIMESTAMP, MASTER_ADDRESS, META_TABLE_NAME, REGION_SERVER_CLASS, REGIONSERVER_ADDRESS, ROOT_TABLE_NAME, THREAD_WAKE_FREQUENCY, UTF8_ENCODING
 
Method Summary
static void deleteConnection(Configuration conf)
          Delete connection information for the instance specified by the configuration
static HConnection getConnection(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
 

Method Detail

getConnection

public static HConnection getConnection(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 -
Returns:
HConnection object for the instance specified by the configuration

deleteConnection

public static void deleteConnection(Configuration conf)
Delete connection information for the instance specified by the configuration

Parameters:
conf -


Copyright © 2006 The Apache Software Foundation