org.apache.hadoop.hbase.client
Class HConnectionManager

java.lang.Object
  extended by org.apache.hadoop.hbase.client.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. Used by HTable and HBaseAdmin


Field Summary
 
Fields inherited from interface org.apache.hadoop.hbase.HConstants
ALL_META_COLUMNS, ALL_VERSIONS, COL_REGIONINFO, COL_REGIONINFO_ARRAY, COL_SERVER, COL_SPLITA, COL_SPLITB, COL_STARTCODE, COLUMN_FAMILY, COLUMN_FAMILY_ARRAY, COLUMN_FAMILY_HISTORIAN, COLUMN_FAMILY_HISTORIAN_STR, COLUMN_FAMILY_STR, DEFAULT_CLIENT_RETRIES, DEFAULT_HOST, DEFAULT_MASTER_ADDRESS, DEFAULT_MASTER_INFOPORT, DEFAULT_MASTER_PORT, DEFAULT_MAX_FILE_SIZE, DEFAULT_REGION_SERVER_CLASS, DEFAULT_REGIONSERVER_ADDRESS, DEFAULT_REGIONSERVER_INFOPORT, DEFAULT_SIZE_RESERVATION_BLOCK, EMPTY_BYTE_ARRAY, EMPTY_END_ROW, EMPTY_START_ROW, FILE_SYSTEM_VERSION, FOREVER, HBASE_CLIENT_RETRIES_NUMBER_KEY, HBASE_DIR, HREGION_LOGDIR_NAME, HREGION_OLDLOGFILE_NAME, IN_MEMORY, LAST_ROW, LATEST_TIMESTAMP, MAJOR_COMPACTION_PERIOD, MASTER_ADDRESS, META_ROW_DELIMITER, META_TABLE_NAME, NAME, NINES, REGION_SERVER_CLASS, REGION_SERVER_IMPL, REGIONSERVER_ADDRESS, RETRY_BACKOFF, ROOT_TABLE_NAME, THREAD_WAKE_FREQUENCY, UTF8_ENCODING, VERSION_FILE_NAME, VERSIONS, ZERO_L, ZEROES
 
Method Summary
static void deleteConnectionInfo(HBaseConfiguration conf, boolean stopProxy)
          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

getConnection

public 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

Parameters:
conf -
Returns:
HConnection object for the instance specified by the configuration

deleteConnectionInfo

public static void deleteConnectionInfo(HBaseConfiguration conf,
                                        boolean stopProxy)
Delete connection information for the instance specified by the configuration

Parameters:
conf -
stopProxy -


Copyright © 2008 The Apache Software Foundation