@InterfaceAudience.Private public interface RegionServerServices extends Server, MutableOnlineRegions, FavoredNodesForRegion
HRegionServer.
 For use internally only. Passed to Managers, Services and Chores so can pass less-than-a
 full-on HRegionServer at test-time. Be judicious adding API. Changes cause ripples through
 the code base.| Modifier and Type | Interface and Description | 
|---|---|
| static class  | RegionServerServices.PostOpenDeployContextContext for postOpenDeployTasks(). | 
| static class  | RegionServerServices.RegionStateTransitionContext | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getCompactionPressure() | 
| CompactionRequester | getCompactionRequestor() | 
| ExecutorService | getExecutorService() | 
| double | getFlushPressure()Deprecated.  | 
| FlushRequester | getFlushRequester() | 
| ThroughputController | getFlushThroughputController() | 
| HeapMemoryManager | getHeapMemoryManager() | 
| Leases | getLeases() | 
| MetricsRegionServer | getMetrics() | 
| ServerNonceManager | getNonceManager()Only required for "old" log replay; if it's removed, remove this. | 
| RegionServerAccounting | getRegionServerAccounting() | 
| RegionServerRpcQuotaManager | getRegionServerRpcQuotaManager() | 
| RegionServerSpaceQuotaManager | getRegionServerSpaceQuotaManager() | 
| ConcurrentMap<byte[],Boolean> | getRegionsInTransitionInRS()Get the regions that are currently being opened or closed in the RS | 
| RpcServerInterface | getRpcServer()Returns a reference to the region server's RPC server | 
| SecureBulkLoadManager | getSecureBulkLoadManager() | 
| WAL | getWAL(RegionInfo regionInfo) | 
| List<WAL> | getWALs() | 
| boolean | isClusterUp() | 
| void | postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context)Tasks to perform after region open to complete deploy of region on
 regionserver | 
| EntityLock | regionLock(List<RegionInfo> regionInfos,
          String description,
          Abortable abort)Master based locks on namespaces/tables/regions. | 
| boolean | registerService(com.google.protobuf.Service service)Registers a new protocol buffer  Servicesubclass as a coprocessor endpoint to be
 available for handling | 
| boolean | reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)Notify master that a handler requests to change a region state | 
| void | unassign(byte[] regionName)Unassign the given region from the current regionserver and assign it randomly. | 
createConnection, getChoreService, getClusterConnection, getConfiguration, getConnection, getCoordinatedStateManager, getFileSystem, getMetaTableLocator, getServerName, getZooKeeper, isStoppingaddRegion, removeRegiongetRegion, getRegions, getRegionsgetFavoredNodesForRegion, updateRegionFavoredNodesMappingWAL getWAL(RegionInfo regionInfo) throws IOException
IOExceptionList<WAL> getWALs() throws IOException
IOExceptionFlushRequester getFlushRequester()
FlushRequester or null. Usually it will not be null unless
         during intialization.CompactionRequester getCompactionRequestor()
CompactionRequester or null. Usually it will not be null
         unless during intialization.RegionServerAccounting getRegionServerAccounting()
RegionServerRpcQuotaManager getRegionServerRpcQuotaManager()
RegionServerRpcQuotaManagerSecureBulkLoadManager getSecureBulkLoadManager()
SecureBulkLoadManagerRegionServerSpaceQuotaManager getRegionServerSpaceQuotaManager()
RegionServerSpaceQuotaManagervoid postOpenDeployTasks(RegionServerServices.PostOpenDeployContext context) throws org.apache.zookeeper.KeeperException, IOException
context - the contextorg.apache.zookeeper.KeeperExceptionIOExceptionboolean reportRegionStateTransition(RegionServerServices.RegionStateTransitionContext context)
RpcServerInterface getRpcServer()
ConcurrentMap<byte[],Boolean> getRegionsInTransitionInRS()
ExecutorService getExecutorService()
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, falseHeapMemoryManager getHeapMemoryManager()
double getCompactionPressure()
Store.getCompactionPressure()ThroughputController getFlushThroughputController()
@Deprecated double getFlushPressure()
MetricsRegionServer getMetrics()
EntityLock regionLock(List<RegionInfo> regionInfos, String description, Abortable abort) throws IOException
IOExceptionvoid unassign(byte[] regionName) throws IOException
See HBASE-17712 for more details.
IOExceptionboolean isClusterUp()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.