public static final class SnapshotRegionLocator.SnapshotHRegionLocation extends HRegionLocation
| Constructor and Description |
|---|
SnapshotHRegionLocation(RegionInfo regionInfo) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(HRegionLocation o) |
boolean |
equals(Object o) |
String |
getHostname() |
int |
getPort() |
ServerName |
getServerName() |
int |
hashCode() |
getHostnamePort, getRegion, getRegionInfo, getSeqNum, toStringpublic SnapshotHRegionLocation(RegionInfo regionInfo)
public ServerName getServerName()
getServerName in class HRegionLocationpublic String getHostname()
getHostname in class HRegionLocationpublic int getPort()
getPort in class HRegionLocationpublic int hashCode()
hashCode in class HRegionLocationpublic boolean equals(Object o)
equals in class HRegionLocationpublic int compareTo(HRegionLocation o)
compareTo in interface Comparable<HRegionLocation>compareTo in class HRegionLocationCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.