Interface TaskManagerRuntimeInfo
-
- All Known Implementing Classes:
TaskManagerConfiguration
public interface TaskManagerRuntimeInfoInterface to accessTaskExecutorinformation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.apache.flink.configuration.ConfigurationgetConfiguration()Gets the configuration that the TaskManager was started with.default StringgetTaskManagerBindAddress()Gets the bind address of the Taskmanager.StringgetTaskManagerExternalAddress()Gets the external address of the TaskManager.String[]getTmpDirectories()Gets the list of temporary file directories.FilegetTmpWorkingDirectory()Gets the temporary working directory of the TaskManager instance.booleanshouldExitJvmOnOutOfMemoryError()Checks whether the TaskManager should exit the JVM when the task thread throws an OutOfMemoryError.
-
-
-
Method Detail
-
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
default String 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.
-
-