public static class NettyShuffleDescriptor.NetworkPartitionConnectionInfo extends Object implements NettyShuffleDescriptor.PartitionConnectionInfo
Normal connection information with network address and port for connection in case of distributed execution.
Constructor and Description |
---|
NetworkPartitionConnectionInfo(InetSocketAddress address,
int connectionIndex) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getAddress() |
int |
getConnectionIndex() |
@VisibleForTesting public NetworkPartitionConnectionInfo(InetSocketAddress address, int connectionIndex)
public InetSocketAddress getAddress()
getAddress
in interface NettyShuffleDescriptor.PartitionConnectionInfo
public int getConnectionIndex()
getConnectionIndex
in interface NettyShuffleDescriptor.PartitionConnectionInfo
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.