public class JobManagerFlinkMemory extends Object implements FlinkMemory
A Job Manager's internal Flink memory consists of the following components.
The relationships of Job Manager Flink memory components are shown below.
┌ ─ ─ Total Flink Memory - ─ ─ ┐
┌───────────────────────────┐
| │ JVM Heap Memory │ |
└───────────────────────────┘
│ ┌───────────────────────────┐ │
| Off-heap Heap Memory │ -─ JVM Direct Memory
│ └───────────────────────────┘ │
└ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
| Constructor and Description |
|---|
JobManagerFlinkMemory(org.apache.flink.configuration.MemorySize jvmHeap,
org.apache.flink.configuration.MemorySize offHeapMemory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.apache.flink.configuration.MemorySize |
getJvmDirectMemorySize() |
org.apache.flink.configuration.MemorySize |
getJvmHeapMemorySize() |
org.apache.flink.configuration.MemorySize |
getTotalFlinkMemorySize() |
int |
hashCode() |
@VisibleForTesting
public JobManagerFlinkMemory(org.apache.flink.configuration.MemorySize jvmHeap,
org.apache.flink.configuration.MemorySize offHeapMemory)
public org.apache.flink.configuration.MemorySize getJvmHeapMemorySize()
getJvmHeapMemorySize in interface FlinkMemorypublic org.apache.flink.configuration.MemorySize getJvmDirectMemorySize()
getJvmDirectMemorySize in interface FlinkMemorypublic org.apache.flink.configuration.MemorySize getTotalFlinkMemorySize()
getTotalFlinkMemorySize in interface FlinkMemoryCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.