public class TaskExecutorFlinkMemory extends Object implements FlinkMemory
A TaskExecutor's internal Flink memory consists of the following components.
The relationships of TaskExecutor Flink memory components are shown below.
┌ ─ ─ Total Flink Memory - ─ ─ ┐ |┌ ─ ─ - - - On-Heap - - - ─ ─ ┐| ┌───────────────────────────┐ |││ Framework Heap Memory ││| └───────────────────────────┘ │ ┌───────────────────────────┐ │ || Task Heap Memory ││ │ └───────────────────────────┘ │ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ |┌ ─ ─ - - - Off-Heap - - ─ ─ ┐| │┌───────────────────────────┐│ │ │ Framework Off-Heap Memory │ │ ─┐ │└───────────────────────────┘│ │ │ ┌───────────────────────────┐ │ │ ││ Task Off-Heap Memory ││ ┼─ JVM Direct Memory │ └───────────────────────────┘ │ │ │┌───────────────────────────┐│ │ │ │ Network Memory │ │ ─┘ │└───────────────────────────┘│ │ ┌───────────────────────────┐ │ |│ Managed Memory │| │ └───────────────────────────┘ │ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ └ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
Constructor and Description |
---|
TaskExecutorFlinkMemory(MemorySize frameworkHeap,
MemorySize frameworkOffHeap,
MemorySize taskHeap,
MemorySize taskOffHeap,
MemorySize network,
MemorySize managed) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
MemorySize |
getFrameworkHeap() |
MemorySize |
getFrameworkOffHeap() |
MemorySize |
getJvmDirectMemorySize() |
MemorySize |
getJvmHeapMemorySize() |
MemorySize |
getManaged() |
MemorySize |
getNetwork() |
MemorySize |
getTaskHeap() |
MemorySize |
getTaskOffHeap() |
MemorySize |
getTotalFlinkMemorySize() |
int |
hashCode() |
public TaskExecutorFlinkMemory(MemorySize frameworkHeap, MemorySize frameworkOffHeap, MemorySize taskHeap, MemorySize taskOffHeap, MemorySize network, MemorySize managed)
public MemorySize getFrameworkHeap()
public MemorySize getFrameworkOffHeap()
public MemorySize getTaskHeap()
public MemorySize getTaskOffHeap()
public MemorySize getNetwork()
public MemorySize getManaged()
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.