Class JobManagerFlinkMemory
- java.lang.Object
-
- org.apache.flink.runtime.util.config.memory.jobmanager.JobManagerFlinkMemory
-
- All Implemented Interfaces:
Serializable,FlinkMemory
public class JobManagerFlinkMemory extends Object implements FlinkMemory
Flink internal memory components of Job Manager.A Job Manager's internal Flink memory consists of the following components.
- JVM Heap Memory
- Off-Heap Memory (also JVM Direct Memory)
The relationships of Job Manager Flink memory components are shown below.
┌ ─ ─ Total Flink Memory - ─ ─ ┐ ┌───────────────────────────┐ | │ JVM Heap Memory │ | └───────────────────────────┘ │ ┌───────────────────────────┐ │ | Off-heap Heap Memory │ -─ JVM Direct Memory │ └───────────────────────────┘ │ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobManagerFlinkMemory(org.apache.flink.configuration.MemorySize jvmHeap, org.apache.flink.configuration.MemorySize offHeapMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)org.apache.flink.configuration.MemorySizegetJvmDirectMemorySize()org.apache.flink.configuration.MemorySizegetJvmHeapMemorySize()org.apache.flink.configuration.MemorySizegetTotalFlinkMemorySize()inthashCode()
-
-
-
Method Detail
-
getJvmHeapMemorySize
public org.apache.flink.configuration.MemorySize getJvmHeapMemorySize()
- Specified by:
getJvmHeapMemorySizein interfaceFlinkMemory
-
getJvmDirectMemorySize
public org.apache.flink.configuration.MemorySize getJvmDirectMemorySize()
- Specified by:
getJvmDirectMemorySizein interfaceFlinkMemory
-
getTotalFlinkMemorySize
public org.apache.flink.configuration.MemorySize getTotalFlinkMemorySize()
- Specified by:
getTotalFlinkMemorySizein interfaceFlinkMemory
-
-