org.apache.hadoop.hbase.client
Interface ServerConnection

All Superinterfaces:
HConnection

public interface ServerConnection
extends HConnection

Used by master and region server, so that they do not need to wait for the cluster to be up to get a connection.


Method Summary
 void setRootRegionLocation(HRegionLocation rootRegion)
          Set root region location in connection
 void unsetRootRegionLocation()
          Unset the root region location in the connection.
 
Methods inherited from interface org.apache.hadoop.hbase.client.HConnection
clearRegionCache, getHRegionConnection, getHRegionConnection, getHTableDescriptor, getMaster, getRegionCachePrefetch, getRegionLocation, getRegionServerWithoutRetries, getRegionServerWithRetries, getZooKeeperWrapper, isMasterRunning, isTableAvailable, isTableDisabled, isTableEnabled, listTables, locateRegion, prewarmRegionCache, processBatchOfDeletes, processBatchOfPuts, processBatchOfRows, relocateRegion, setRegionCachePrefetch, tableExists
 

Method Detail

setRootRegionLocation

void setRootRegionLocation(HRegionLocation rootRegion)
Set root region location in connection

Parameters:
rootRegion - region location for root region

unsetRootRegionLocation

void unsetRootRegionLocation()
Unset the root region location in the connection. Called by ServerManager.processRegionClose.



Copyright © 2010 Apache Software Foundation. All Rights Reserved.