public interface ConnectionManager
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeOpenChannelConnections(ConnectionID connectionId)
Closes opened ChannelConnections in case of a resource release.
|
PartitionRequestClient |
createPartitionRequestClient(ConnectionID connectionId)
Creates a
PartitionRequestClient instance for the given ConnectionID. |
int |
getNumberOfActiveConnections() |
void |
shutdown() |
int |
start()
Starts the internal related components for network connection and communication.
|
int start() throws IOException
IOExceptionPartitionRequestClient createPartitionRequestClient(ConnectionID connectionId) throws IOException, InterruptedException
PartitionRequestClient instance for the given ConnectionID.void closeOpenChannelConnections(ConnectionID connectionId)
int getNumberOfActiveConnections()
void shutdown()
throws IOException
IOExceptionCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.