Class JobManagerFlinkMemory
java.lang.Object
org.apache.flink.runtime.util.config.memory.jobmanager.JobManagerFlinkMemory
- All Implemented Interfaces:
Serializable,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:
-
Constructor Summary
ConstructorsConstructorDescriptionJobManagerFlinkMemory(org.apache.flink.configuration.MemorySize jvmHeap, org.apache.flink.configuration.MemorySize offHeapMemory) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.flink.configuration.MemorySizeorg.apache.flink.configuration.MemorySizeorg.apache.flink.configuration.MemorySizeinthashCode()
-
Constructor Details
-
JobManagerFlinkMemory
@VisibleForTesting public JobManagerFlinkMemory(org.apache.flink.configuration.MemorySize jvmHeap, org.apache.flink.configuration.MemorySize offHeapMemory)
-
-
Method Details
-
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
-
equals
-
hashCode
public int hashCode()
-