Package org.apache.flink.runtime.shuffle
Class NettyShuffleDescriptor.NetworkPartitionConnectionInfo
java.lang.Object
org.apache.flink.runtime.shuffle.NettyShuffleDescriptor.NetworkPartitionConnectionInfo
- All Implemented Interfaces:
Serializable,NettyShuffleDescriptor.PartitionConnectionInfo
- Enclosing class:
- NettyShuffleDescriptor
public static class NettyShuffleDescriptor.NetworkPartitionConnectionInfo
extends Object
implements NettyShuffleDescriptor.PartitionConnectionInfo
Remote partition connection information with index to query partition.
Normal connection information with network address and port for connection in case of distributed execution.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkPartitionConnectionInfo(InetSocketAddress address, int connectionIndex) -
Method Summary
-
Constructor Details
-
NetworkPartitionConnectionInfo
@VisibleForTesting public NetworkPartitionConnectionInfo(InetSocketAddress address, int connectionIndex)
-
-
Method Details
-
getAddress
- Specified by:
getAddressin interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-
getConnectionIndex
public int getConnectionIndex()- Specified by:
getConnectionIndexin interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-