@VisibleForTesting public static class TaskManagerLocation.DefaultHostNameSupplier extends Object implements TaskManagerLocation.HostNameSupplier
| Constructor and Description |
|---|
DefaultHostNameSupplier(InetAddress inetAddress) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFqdnHostName()
Returns the fully-qualified domain name the TaskManager.
|
String |
getHostName()
Gets the hostname of the TaskManager.
|
public DefaultHostNameSupplier(InetAddress inetAddress)
public String getHostName()
TaskManagerLocation.getFQDNHostname()):
getHostName in interface TaskManagerLocation.HostNameSupplierpublic String getFqdnHostName()
getFqdnHostName in interface TaskManagerLocation.HostNameSupplierCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.