public class TaskManagerRuntimeInfo extends Object implements Serializable
Constructor and Description |
---|
TaskManagerRuntimeInfo(String hostname,
org.apache.flink.configuration.Configuration configuration,
String tmpDirectory)
Creates a runtime info.
|
TaskManagerRuntimeInfo(String hostname,
org.apache.flink.configuration.Configuration configuration,
String[] tmpDirectories)
Creates a runtime info.
|
Modifier and Type | Method and Description |
---|---|
org.apache.flink.configuration.Configuration |
getConfiguration()
Gets the configuration that the TaskManager was started with.
|
String |
getHostname()
Gets host name of the interface that the TaskManager uses to communicate.
|
String[] |
getTmpDirectories()
Gets the list of temporary file directories.
|
public TaskManagerRuntimeInfo(String hostname, org.apache.flink.configuration.Configuration configuration, String tmpDirectory)
hostname
- The host name of the interface that the TaskManager uses to communicate.configuration
- The configuration that the TaskManager was started with.tmpDirectory
- The temporary file directory.public TaskManagerRuntimeInfo(String hostname, org.apache.flink.configuration.Configuration configuration, String[] tmpDirectories)
hostname
- The host name of the interface that the TaskManager uses to communicate.configuration
- The configuration that the TaskManager was started with.tmpDirectories
- The list of temporary file directories.public String getHostname()
public org.apache.flink.configuration.Configuration getConfiguration()
public String[] getTmpDirectories()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.