/** * @return String made of hostname and port formatted as * per {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostnamePort() { return Addressing.createHostAndPortStr(this.getHostname(), this.getPort()); }
/** * @return Return a SHORT version of {@link ServerName#toString()}, one that has the host only, * minus the domain, and the port only -- no start code; the String is for us internally mostly * tying threads to their server. Not for external use. It is lossy and will not work in * in compares, etc. */ public String toShortString() { return Addressing.createHostAndPortStr( getHostNameMinusDomain(this.address.getHostname()), this.address.getPort()); }
/** * @return String made of hostname and port formatted as * per {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostnamePort() { return Addressing.createHostAndPortStr(this.getHostname(), this.getPort()); }
/** * @return String made of hostname and port formatted as per * {@link org.apache.hadoop.hbase.util.Addressing#createHostAndPortStr(String, int)} */ public synchronized String getHostnamePort() { if (this.cachedHostnamePort == null) { this.cachedHostnamePort = Addressing.createHostAndPortStr(this.hostname, this.port); } return this.cachedHostnamePort; }
/** * @return Hostname and port formatted as described at * {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostAndPort() { return Addressing.createHostAndPortStr(this.hostname, this.port); }
/** * @return Hostname and port formatted as described at * {@link org.apache.hadoop.hbase.util.Addressing#createHostAndPortStr(String, int)} */ public String getHostAndPort() { return Addressing.createHostAndPortStr(this.hostname, this.port); }
/** * @return String made of hostname and port formatted as per {@link Addressing#createHostAndPortStr(String, int)} */ public synchronized String getHostnamePort() { if (this.cachedHostnamePort == null) { this.cachedHostnamePort = Addressing.createHostAndPortStr(this.hostname, this.port); } return this.cachedHostnamePort; }
/** * @return Hostname and port formatted as described at * {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostAndPort() { return Addressing.createHostAndPortStr(this.hostnameOnly, this.port); }
/** * @return Return a SHORT version of {@link ServerName#toString()}, one that has the host only, * minus the domain, and the port only -- no start code; the String is for us internally mostly * tying threads to their server. Not for external use. It is lossy and will not work in * in compares, etc. */ public String toShortString() { return Addressing.createHostAndPortStr(getHostNameMinusDomain(this.hostnameOnly), this.port); }
/** * @return String made of hostname and port formatted as * per {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostnamePort() { return Addressing.createHostAndPortStr(this.getHostname(), this.getPort()); }
/** * @return String made of hostname and port formatted as per {@link Addressing#createHostAndPortStr(String, int)} */ public String getHostnamePort() { return Addressing.createHostAndPortStr(this.getHostname(), this.getPort()); }
String rsName = null; if (isa != null) { rsName = Addressing.createHostAndPortStr(isa.getHostName(), isa.getPort()); } else { rsName = Addressing.createHostAndPortStr(hostname, port); address, this.conf, this.maxRPCAttempts, this.rpcTimeout, this.rpcTimeout); this.servers.put(Addressing.createHostAndPortStr( address.getHostName(), address.getPort()), server); } catch (RemoteException e) {
final Class<? extends VersionedProtocol> protocolClass, final long version) throws IOException { String rsName = Addressing.createHostAndPortStr(hostname, port);
/** * @return Return a SHORT version of {@link ServerName#toString()}, one that has the host only, * minus the domain, and the port only -- no start code; the String is for us internally mostly * tying threads to their server. Not for external use. It is lossy and will not work in * in compares, etc. */ public String toShortString() { return Addressing.createHostAndPortStr( getHostNameMinusDomain(this.address.getHostname()), this.address.getPort()); }
/** * @return Return a SHORT version of {@link ServerName#toString()}, one that has the host only, * minus the domain, and the port only -- no start code; the String is for us internally mostly * tying threads to their server. Not for external use. It is lossy and will not work in * in compares, etc. */ public String toShortString() { return Addressing.createHostAndPortStr( getHostNameMinusDomain(this.address.getHostname()), this.address.getPort()); }