@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface RegionServerServices extends OnlineRegions, FavoredNodesForRegion
HRegionServer
Modifier and Type | Interface and Description |
---|---|
static class |
RegionServerServices.PostOpenDeployContext
Context for postOpenDeployTasks().
|
static class |
RegionServerServices.RegionStateTransitionContext |
addToOnlineRegions, getFromOnlineRegions, getOnlineRegions, removeFromOnlineRegions
getChoreService, getConfiguration, getConnection, getCoordinatedStateManager, getMetaTableLocator, getServerName, getZooKeeper
getFavoredNodesForRegion, updateRegionFavoredNodesMapping
boolean isStopping()
WAL getWAL(HRegionInfo regionInfo) throws IOException
IOException
CompactionRequestor getCompactionRequester()
CompactionRequestor
or null.FlushRequester getFlushRequester()
FlushRequester
or null.RegionServerAccounting getRegionServerAccounting()
TableLockManager getTableLockManager()
TableLockManager
RegionServerQuotaManager getRegionServerQuotaManager()
RegionServerQuotaManager
void postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context) throws org.apache.zookeeper.KeeperException, IOException
context
- the contextorg.apache.zookeeper.KeeperException
IOException
@Deprecated void postOpenDeployTasks(Region r) throws org.apache.zookeeper.KeeperException, IOException
postOpenDeployTasks(PostOpenDeployContext)
r
- Region to open.org.apache.zookeeper.KeeperException
IOException
boolean reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)
@Deprecated boolean reportRegionStateTransition(RegionServerStatusProtos.RegionStateTransition.TransitionCode code, long openSeqNum, HRegionInfo... hris)
reportRegionStateTransition(RegionStateTransitionContext)
@Deprecated boolean reportRegionStateTransition(RegionServerStatusProtos.RegionStateTransition.TransitionCode code, HRegionInfo... hris)
reportRegionStateTransition(RegionStateTransitionContext)
RpcServerInterface getRpcServer()
ConcurrentMap<byte[],Boolean> getRegionsInTransitionInRS()
org.apache.hadoop.fs.FileSystem getFileSystem()
Leases getLeases()
ExecutorService getExecutorService()
Map<String,Region> getRecoveringRegions()
ServerNonceManager getNonceManager()
boolean registerService(com.google.protobuf.Service service)
Service
subclass as a coprocessor endpoint to be
available for handlingservice
- the Service
subclass instance to expose as a coprocessor endpointtrue
if the registration was successful, false
HeapMemoryManager getHeapMemoryManager()
double getCompactionPressure()
Store.getCompactionPressure()
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.