@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.HostNameSupplier
public String getFqdnHostName()
getFqdnHostName
in interface TaskManagerLocation.HostNameSupplier
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.