@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface OnlineRegions extends Server
Region instance.| Modifier and Type | Method and Description | 
|---|---|
void | 
addToOnlineRegions(Region r)
Add to online regions. 
 | 
Region | 
getFromOnlineRegions(String encodedRegionName)
Return  
Region instance. | 
List<Region> | 
getOnlineRegions(TableName tableName)
Get all online regions of a table in this RS. 
 | 
boolean | 
removeFromOnlineRegions(Region r,
                       ServerName destination)
This method removes Region corresponding to hri from the Map of onlineRegions. 
 | 
getChoreService, getConfiguration, getConnection, getCoordinatedStateManager, getMetaTableLocator, getServerName, getZooKeepervoid addToOnlineRegions(Region r)
r - boolean removeFromOnlineRegions(Region r, ServerName destination)
r - Region to remove.destination - Destination, if any, null otherwise.Region getFromOnlineRegions(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.List<Region> getOnlineRegions(TableName tableName) throws IOException
tableName - IOException