@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, getVersionedBytes, isFullServerName, isSameAddress, parseHostname, parsePort, parseServerName, parseStartcode, parseVersionedServerName, toShortString, toString, valueOf, valueOf
public 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 ServerName
public int hashCode()
hashCode
in class ServerName
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.