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(MemorySize jvmHeap,
MemorySize offHeapMemory) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
MemorySize |
getJvmDirectMemorySize() |
MemorySize |
getJvmHeapMemorySize() |
MemorySize |
getTotalFlinkMemorySize() |
int |
hashCode() |
@VisibleForTesting public JobManagerFlinkMemory(MemorySize jvmHeap, MemorySize offHeapMemory)
public MemorySize getJvmHeapMemorySize()
getJvmHeapMemorySize
in interface FlinkMemory
public MemorySize getJvmDirectMemorySize()
getJvmDirectMemorySize
in interface FlinkMemory
public MemorySize getTotalFlinkMemorySize()
getTotalFlinkMemorySize
in interface FlinkMemory
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.