Interface TaskManagerRuntimeInfo
- All Known Implementing Classes:
TaskManagerConfiguration
public interface TaskManagerRuntimeInfo
Interface to access
TaskExecutor information.-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.configuration.ConfigurationGets the configuration that the TaskManager was started with.default StringGets the bind address of the Taskmanager.Gets the external address of the TaskManager.String[]Gets the list of temporary file directories.Gets the temporary working directory of the TaskManager instance.booleanChecks whether the TaskManager should exit the JVM when the task thread throws an OutOfMemoryError.
-
Method Details
-
getConfiguration
org.apache.flink.configuration.Configuration getConfiguration()Gets the configuration that the TaskManager was started with.- Returns:
- The configuration that the TaskManager was started with.
-
getTmpDirectories
String[] getTmpDirectories()Gets the list of temporary file directories.- Returns:
- The list of temporary file directories.
-
shouldExitJvmOnOutOfMemoryError
boolean shouldExitJvmOnOutOfMemoryError()Checks whether the TaskManager should exit the JVM when the task thread throws an OutOfMemoryError.- Returns:
- True to terminate the JVM on an OutOfMemoryError, false otherwise.
-
getTaskManagerExternalAddress
String getTaskManagerExternalAddress()Gets the external address of the TaskManager.- Returns:
- The external address of the TaskManager.
-
getTaskManagerBindAddress
Gets the bind address of the Taskmanager.- Returns:
- The bind address of the TaskManager.
-
getTmpWorkingDirectory
File getTmpWorkingDirectory()Gets the temporary working directory of the TaskManager instance.- Returns:
- The temporary working directory of the TaskManager.
-