|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Private public interface RegionServerServices
Services provided by HRegionServer
| Nested Class Summary | |
|---|---|
static class |
RegionServerServices.PostOpenDeployContext
Context for postOpenDeployTasks(). |
static class |
RegionServerServices.RegionStateTransitionContext
|
| Methods inherited from interface org.apache.hadoop.hbase.Server |
|---|
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 |
| Methods inherited from interface org.apache.hadoop.hbase.ipc.PriorityFunction |
|---|
getPriority |
| Method Detail |
|---|
boolean isStopping()
HLog getWAL(HRegionInfo regionInfo)
throws IOException
IOExceptionCompactionRequestor getCompactionRequester()
CompactionRequestor or null.FlushRequester getFlushRequester()
FlushRequester or null.RegionServerAccounting getRegionServerAccounting()
TableLockManager getTableLockManager()
TableLockManager
void postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context,
CatalogTracker ct)
throws org.apache.zookeeper.KeeperException,
IOException
context - the contextct - catalog tracker
org.apache.zookeeper.KeeperException
IOException
@Deprecated
void postOpenDeployTasks(HRegion r,
CatalogTracker ct)
throws org.apache.zookeeper.KeeperException,
IOException
#postOpenDeployTasks(PostOpenDeployContext)
r - Region to open.ct - catalog tracker
org.apache.zookeeper.KeeperException
IOExceptionboolean reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)
@Deprecated
boolean reportRegionStateTransition(org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode code,
HRegionInfo... hris)
@Deprecated
boolean reportRegionStateTransition(org.apache.hadoop.hbase.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCode code,
long openSeqNum,
HRegionInfo... hris)
RpcServerInterface getRpcServer()
ConcurrentMap<byte[],Boolean> getRegionsInTransitionInRS()
org.apache.hadoop.fs.FileSystem getFileSystem()
Leases getLeases()
ExecutorService getExecutorService()
CatalogTracker getCatalogTracker()
Map<String,HRegion> getRecoveringRegions()
ServerNonceManager getNonceManager()
boolean registerService(com.google.protobuf.Service service)
Service subclass as a coprocessor endpoint to
be available for handling
instance - the Service subclass instance to expose as a coprocessor endpoint
true if the registration was successful, falseHeapMemoryManager getHeapMemoryManager()
double getCompactionPressure()
Store.getCompactionPressure()void addToOnlineRegions(HRegion r)
r -
boolean removeFromOnlineRegions(HRegion r,
ServerName destination)
r - Region to remove.destination - Destination, if any, null otherwise.
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.
List<HRegion> getOnlineRegions(TableName tableName)
throws IOException
tableName -
IOException
void updateRegionFavoredNodesMapping(String encodedRegionName,
List<org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName> favoredNodes)
encodedRegionName - favoredNodes - InetSocketAddress[] getFavoredNodesForRegion(String encodedRegionName)
encodedRegionName -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||