Class TaskExecutorMemoryConfiguration
java.lang.Object
org.apache.flink.runtime.taskexecutor.TaskExecutorMemoryConfiguration
- All Implemented Interfaces:
Serializable
TaskExecutorConfiguration collects the configuration of a TaskExecutor instance.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(org.apache.flink.configuration.Configuration config) Factory method for initializing a TaskExecutorMemoryConfiguration based on the passed Configuration.booleanReturns the configured heap size used by the framework.Returns the configured off-heap size used by the framework.Returns the maximum Metaspace size allowed for the task manager.Returns the threshold for defining the maximum amount of memory used for the JVM overhead.Returns the total amount of memory reserved for by the MemoryManager.Returns the configured maximum network memory.Returns the configured heap size used by the tasks.Returns the configured off-heap size used by the tasks.Returns the amount of memory configured to be used by Flink excluding things like JVM Metaspace and other JVM overhead.Returns the total amount of memory configured to be used by the JVM including all the different memory pools.inthashCode()toString()
-
Field Details
-
FIELD_NAME_FRAMEWORK_HEAP
- See Also:
-
FIELD_NAME_TASK_HEAP
- See Also:
-
FIELD_NAME_FRAMEWORK_OFFHEAP
- See Also:
-
FIELD_NAME_TASK_OFFHEAP
- See Also:
-
FIELD_NAME_NETWORK_MEMORY
- See Also:
-
FIELD_NAME_MANAGED_MEMORY
- See Also:
-
FIELD_NAME_JVM_METASPACE
- See Also:
-
FIELD_NAME_JVM_OVERHEAD
- See Also:
-
FIELD_NAME_TOTAL_FLINK_MEMORY
- See Also:
-
FIELD_NAME_TOTAL_PROCESS_MEMORY
- See Also:
-
-
Constructor Details
-
TaskExecutorMemoryConfiguration
-
-
Method Details
-
create
public static TaskExecutorMemoryConfiguration create(org.apache.flink.configuration.Configuration config) Factory method for initializing a TaskExecutorMemoryConfiguration based on the passed Configuration.- Parameters:
config- The Configuration used for initializing the TaskExecutorMemoryConfiguration.- Returns:
- The newly instantiated TaskExecutorMemoryConfiguration.
-
getFrameworkHeap
Returns the configured heap size used by the framework. -
getTaskHeap
Returns the configured heap size used by the tasks. -
getFrameworkOffHeap
Returns the configured off-heap size used by the framework. -
getTaskOffHeap
Returns the configured off-heap size used by the tasks. -
getNetworkMemory
Returns the configured maximum network memory. -
getManagedMemoryTotal
Returns the total amount of memory reserved for by the MemoryManager. -
getJvmMetaspace
Returns the maximum Metaspace size allowed for the task manager. -
getJvmOverhead
Returns the threshold for defining the maximum amount of memory used for the JVM overhead. -
getTotalFlinkMemory
Returns the amount of memory configured to be used by Flink excluding things like JVM Metaspace and other JVM overhead. -
getTotalProcessMemory
Returns the total amount of memory configured to be used by the JVM including all the different memory pools. -
equals
-
hashCode
public int hashCode() -
toString
-