@InterfaceAudience.Private class StartcodeAgnosticServerName extends ServerName
ServerName is much cleaner. This should only be used by Favored node specific classes and
should not be used outside favored nodes.EMPTY_SERVER_LIST, NON_STARTCODE, SERVERNAME_PATTERN, SERVERNAME_SEPARATOR, UNKNOWN_SERVERNAME| Constructor and Description |
|---|
StartcodeAgnosticServerName(String hostname,
int port,
long startcode) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ServerName other) |
int |
hashCode() |
static StartcodeAgnosticServerName |
valueOf(org.apache.hbase.thirdparty.com.google.common.net.HostAndPort hostnameAndPort,
long startcode) |
static StartcodeAgnosticServerName |
valueOf(ServerName serverName) |
static StartcodeAgnosticServerName |
valueOf(String hostnameAndPort,
long startcode) |
equals, getAddress, getHostAndPort, getHostname, getHostnameLowerCase, getPort, getServerName, getServerName, getServerNameLessStartCode, getServerStartcodeFromServerName, getStartcode, getStartCode, getVersionedBytes, isFullServerName, isSameAddress, parseHostname, parsePort, parseServerName, parseStartcode, parseVersionedServerName, toShortString, toString, valueOf, valueOf, valueOfpublic StartcodeAgnosticServerName(String hostname, int port, long startcode)
public static StartcodeAgnosticServerName valueOf(ServerName serverName)
public static StartcodeAgnosticServerName valueOf(String hostnameAndPort, long startcode)
public static StartcodeAgnosticServerName valueOf(org.apache.hbase.thirdparty.com.google.common.net.HostAndPort hostnameAndPort, long startcode)
public int compareTo(ServerName other)
compareTo in interface Comparable<ServerName>compareTo in class ServerNamepublic int hashCode()
hashCode in class ServerNameCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.