public interface OnlineRegions
| Modifier and Type | Method and Description |
|---|---|
Region |
getRegion(java.lang.String encodedRegionName)
Return
Region instance. |
java.util.List<? extends Region> |
getRegions()
Get all online regions in this RS.
|
java.util.List<? extends Region> |
getRegions(TableName tableName)
Get all online regions of a table in this RS.
|
Region getRegion(java.lang.String encodedRegionName)
Region instance.
Only works if caller is in same context, in same JVM. Region is not
serializable.encodedRegionName - encodedRegionName or
null if named region is not member of the online regions.java.util.List<? extends Region> getRegions(TableName tableName)
throws java.io.IOException
tableName - java.io.IOExceptionjava.util.List<? extends Region> getRegions()