@InterfaceAudience.Public public class HRegionLocation extends Object implements Comparable<HRegionLocation>
构造器和说明 |
---|
HRegionLocation(RegionInfo regionInfo,
ServerName serverName) |
HRegionLocation(RegionInfo regionInfo,
ServerName serverName,
long seqNum) |
限定符和类型 | 方法和说明 |
---|---|
int |
compareTo(HRegionLocation o) |
boolean |
equals(Object o) |
String |
getHostname() |
String |
getHostnamePort() |
int |
getPort() |
RegionInfo |
getRegion() |
HRegionInfo |
getRegionInfo()
已过时。
Since 2.0.0. Will remove in 3.0.0. Use
getRegion() } instead. |
long |
getSeqNum() |
ServerName |
getServerName() |
int |
hashCode() |
String |
toString() |
public HRegionLocation(RegionInfo regionInfo, ServerName serverName)
public HRegionLocation(RegionInfo regionInfo, ServerName serverName, long seqNum)
public String toString()
toString
在类中 Object
Object.toString()
public boolean equals(Object o)
equals
在类中 Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
在类中 Object
Object.hashCode()
@Deprecated public HRegionInfo getRegionInfo()
getRegion()
} instead.public RegionInfo getRegion()
public String getHostname()
public int getPort()
public long getSeqNum()
public String getHostnamePort()
Addressing.createHostAndPortStr(String, int)
public ServerName getServerName()
public int compareTo(HRegionLocation o)
compareTo
在接口中 Comparable<HRegionLocation>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.