Class ConnectionID
java.lang.Object
org.apache.flink.runtime.io.network.ConnectionID
- All Implemented Interfaces:
Serializable
A
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionID(ResourceID resourceID, InetSocketAddress address, int connectionIndex) ConnectionID(TaskManagerLocation connectionInfo, int connectionIndex) -
Method Summary