Interface OnlineRegions
- All Known Subinterfaces:
MutableOnlineRegions
,RegionServerServices
- All Known Implementing Classes:
HMaster
,HMasterCommandLine.LocalHMaster
,HRegionServer
Provides read-only access to the Regions presently online on the current RegionServer
-
Method Summary
-
Method Details
-
getRegion
ReturnRegion
instance. Only works if caller is in same context, in same JVM. Region is not serializable.- Returns:
- Region for the passed encoded
encodedRegionName
or null if named region is not member of the online regions.
-
getRegions
Get all online regions of a table in this RS.- Returns:
- List of Region
- Throws:
IOException
-
getRegions
List<? extends Region> getRegions()Get all online regions in this RS.- Returns:
- List of online Region
-