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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkPartitionConnectionInfo(InetSocketAddress address, int connectionIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetSocketAddress
getAddress()
int
getConnectionIndex()
-
-
-
Constructor Detail
-
NetworkPartitionConnectionInfo
@VisibleForTesting public NetworkPartitionConnectionInfo(InetSocketAddress address, int connectionIndex)
-
-
Method Detail
-
getAddress
public InetSocketAddress getAddress()
- Specified by:
getAddress
in interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-
getConnectionIndex
public int getConnectionIndex()
- Specified by:
getConnectionIndex
in interfaceNettyShuffleDescriptor.PartitionConnectionInfo
-
-