@VisibleForTesting public static class TaskManagerLocation.IpOnlyHostNameSupplier extends Object implements TaskManagerLocation.HostNameSupplier
| 构造器和说明 |
|---|
IpOnlyHostNameSupplier(InetAddress inetAddress) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFqdnHostName()
Returns the textual representation of the TaskManager's IP address as FQDN host name.
|
String |
getHostName()
Returns the textual representation of the TaskManager's IP address as host name.
|
public IpOnlyHostNameSupplier(InetAddress inetAddress)
public String getHostName()
getHostName 在接口中 TaskManagerLocation.HostNameSupplierpublic String getFqdnHostName()
getFqdnHostName 在接口中 TaskManagerLocation.HostNameSupplierCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.