Class InputGateSpecUtils
java.lang.Object
org.apache.flink.runtime.io.network.partition.consumer.InputGateSpecUtils
Utils to manage the specs of the
InputGate, for example, GateBuffersSpec.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GateBuffersSpeccreateGateBuffersSpec(Optional<Integer> configuredMaxRequiredBuffersPerGate, int configuredNetworkBuffersPerChannel, int configuredFloatingNetworkBuffersPerGate, ResultPartitionType partitionType, int numInputChannels, boolean enableTieredStorage)
-
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)
-