@VisibleForTesting public static class TaskManagerLocation.IpOnlyHostNameSupplier extends Object implements TaskManagerLocation.HostNameSupplier
| Constructor and Description |
|---|
IpOnlyHostNameSupplier(InetAddress inetAddress) |
| Modifier and Type | Method and Description |
|---|---|
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 in interface TaskManagerLocation.HostNameSupplierpublic String getFqdnHostName()
getFqdnHostName in interface TaskManagerLocation.HostNameSupplierCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.