Class InputGateSpecUtils

java.lang.Object
org.apache.flink.runtime.io.network.partition.consumer.InputGateSpecUtils

public class InputGateSpecUtils extends Object
Utils to manage the specs of the InputGate, for example, GateBuffersSpec.
  • Field Details

    • DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_BATCH

      public static final int DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_BATCH
      See Also:
    • DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_STREAM

      public static final int DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_STREAM
      See Also:
  • Constructor Details

    • InputGateSpecUtils

      public InputGateSpecUtils()
  • Method Details

    • createGateBuffersSpec

      public static GateBuffersSpec createGateBuffersSpec(Optional<Integer> configuredMaxRequiredBuffersPerGate, int configuredNetworkBuffersPerChannel, int configuredFloatingNetworkBuffersPerGate, ResultPartitionType partitionType, int numInputChannels, boolean enableTieredStorage)