Interface FlinkMemoryUtils<FM extends FlinkMemory>

  • Type Parameters:
    FM - the Flink memory components
    All Known Implementing Classes:
    JobManagerFlinkMemoryUtils, TaskExecutorFlinkMemoryUtils

    public interface FlinkMemoryUtils<FM extends FlinkMemory>
    Utility to derive the FlinkMemory components.

    The FlinkMemory represents memory components which constitute the Total Flink Memory. The Flink memory components can be derived from either its total size or a subset of configured required fine-grained components. See implementations for details about the concrete fine-grained components.

    • Method Detail

      • deriveFromRequiredFineGrainedOptions

        FM deriveFromRequiredFineGrainedOptions​(org.apache.flink.configuration.Configuration config)
      • deriveFromTotalFlinkMemory

        FM deriveFromTotalFlinkMemory​(org.apache.flink.configuration.Configuration config,
                                      org.apache.flink.configuration.MemorySize totalFlinkMemorySize)