Interface MutableOnlineRegions
- All Superinterfaces:
OnlineRegions
- All Known Subinterfaces:
RegionServerServices
- All Known Implementing Classes:
HMaster
,HMasterCommandLine.LocalHMaster
,HRegionServer
Interface to Map of online regions. In the Map, the key is the region's encoded name and the
value is an
Region
instance.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add to online regions.boolean
removeRegion
(HRegion r, ServerName destination) Removes the given Region from the list of onlineRegions.Methods inherited from interface org.apache.hadoop.hbase.regionserver.OnlineRegions
getRegion, getRegions, getRegions
-
Method Details
-
addRegion
Add to online regions. -
removeRegion
Removes the given Region from the list of onlineRegions.- Parameters:
r
- Region to remove.destination
- Destination, if any, null otherwise.- Returns:
- True if we removed a region from online list.
-