Interface MutableOnlineRegions

All Superinterfaces:
OnlineRegions
All Known Subinterfaces:
RegionServerServices
All Known Implementing Classes:
HRegionServer, MiniHBaseCluster.MiniHBaseClusterRegionServer, MockRegionServerServices

@Private public interface MutableOnlineRegions extends OnlineRegions
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 Details

    • addRegion

      void addRegion(HRegion r)
      Add to online regions.
    • removeRegion

      boolean removeRegion(HRegion r, ServerName destination)
      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.