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