Interface TaskManagerRuntimeInfo
-
- All Known Implementing Classes:
TaskManagerConfiguration
public interface TaskManagerRuntimeInfo
Interface to accessTaskExecutor
information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Configuration
getConfiguration()
Gets the configuration that the TaskManager was started with.default String
getTaskManagerBindAddress()
Gets the bind address of the Taskmanager.String
getTaskManagerExternalAddress()
Gets the external address of the TaskManager.String[]
getTmpDirectories()
Gets the list of temporary file directories.File
getTmpWorkingDirectory()
Gets the temporary working directory of the TaskManager instance.boolean
shouldExitJvmOnOutOfMemoryError()
Checks whether the TaskManager should exit the JVM when the task thread throws an OutOfMemoryError.
-
-
-
Method Detail
-
getConfiguration
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.
-
-