|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegionServerServices
Services provided by HRegionServer
Method Summary | |
---|---|
void |
addToOnlineRegions(HRegion r)
Add to online regions. |
CompactionRequestor |
getCompactionRequester()
|
FlushRequester |
getFlushRequester()
|
HRegion |
getFromOnlineRegions(String encodedRegionName)
Return HRegion instance. |
RegionServerAccounting |
getRegionServerAccounting()
|
Map<byte[],Boolean> |
getRegionsInTransitionInRS()
Get the regions that are currently being opened or closed in the RS |
RpcServer |
getRpcServer()
Returns a reference to the region server's RPC server |
HLog |
getWAL()
|
boolean |
isStopping()
|
void |
postOpenDeployTasks(HRegion r,
CatalogTracker ct,
boolean daughter)
Tasks to perform after region open to complete deploy of region on regionserver |
boolean |
removeFromOnlineRegions(String encodedRegionName)
This method removes HRegion corresponding to hri from the Map of onlineRegions. |
Methods inherited from interface org.apache.hadoop.hbase.Server |
---|
getCatalogTracker, getConfiguration, getServerName, getZooKeeper |
Methods inherited from interface org.apache.hadoop.hbase.Abortable |
---|
abort, isAborted |
Methods inherited from interface org.apache.hadoop.hbase.Stoppable |
---|
isStopped, stop |
Method Detail |
---|
boolean isStopping()
HLog getWAL()
CompactionRequestor getCompactionRequester()
CompactionRequestor
or null.FlushRequester getFlushRequester()
FlushRequester
or null.RegionServerAccounting getRegionServerAccounting()
void postOpenDeployTasks(HRegion r, CatalogTracker ct, boolean daughter) throws org.apache.zookeeper.KeeperException, IOException
r
- Region to open.ct
- Instance of CatalogTracker
daughter
- True if this is daughter of a split
org.apache.zookeeper.KeeperException
IOException
RpcServer getRpcServer()
Map<byte[],Boolean> getRegionsInTransitionInRS()
void addToOnlineRegions(HRegion r)
r
- boolean removeFromOnlineRegions(String encodedRegionName)
encodedRegionName
-
HRegion getFromOnlineRegions(String encodedRegionName)
HRegion
instance.
Only works if caller is in same context, in same JVM. HRegion is not
serializable.
encodedRegionName
-
encodedRegionName
or
null if named region is not member of the online regions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |