public class ConnectionID extends Object implements Serializable
ConnectionID identifies a connection to a remote task manager by the socket address and
a connection index. This allows multiple connections to the same task manager to be distinguished
by their connection index.
The connection index is assigned by the IntermediateResult and ensures that it is safe
to multiplex multiple data transfers over the same physical TCP connection.
| 构造器和说明 |
|---|
ConnectionID(InetSocketAddress address,
int connectionIndex) |
ConnectionID(TaskManagerLocation connectionInfo,
int connectionIndex) |
public ConnectionID(TaskManagerLocation connectionInfo, int connectionIndex)
public ConnectionID(InetSocketAddress address, int connectionIndex)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.