@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 KeeperException, IOException
context
- the contextKeeperException
IOException
@Deprecated void postOpenDeployTasks(Region r) throws KeeperException, IOException
postOpenDeployTasks(PostOpenDeployContext)
r
- Region to open.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()
FileSystem getFileSystem()
Leases getLeases()
ExecutorService getExecutorService()
Map<String,Region> getRecoveringRegions()
ServerNonceManager getNonceManager()
boolean registerService(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()