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 theInputGate
, for example,GateBuffersSpec
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_BATCH
static int
DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_STREAM
-
Constructor Summary
Constructors Constructor Description InputGateSpecUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GateBuffersSpec
createGateBuffersSpec(Optional<Integer> configuredMaxRequiredBuffersPerGate, int configuredNetworkBuffersPerChannel, int configuredFloatingNetworkBuffersPerGate, ResultPartitionType partitionType, int numInputChannels, boolean enableTieredStorage)
-
-
-
Field Detail
-
DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_BATCH
public static final int DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_BATCH
- See Also:
- Constant Field Values
-
DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_STREAM
public static final int DEFAULT_MAX_REQUIRED_BUFFERS_PER_GATE_FOR_STREAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
createGateBuffersSpec
public static GateBuffersSpec createGateBuffersSpec(Optional<Integer> configuredMaxRequiredBuffersPerGate, int configuredNetworkBuffersPerChannel, int configuredFloatingNetworkBuffersPerGate, ResultPartitionType partitionType, int numInputChannels, boolean enableTieredStorage)
-
-