public class LocalConnectionManager extends Object implements ConnectionManager
| 构造器和说明 |
|---|
LocalConnectionManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public int start()
ConnectionManagerstart 在接口中 ConnectionManagerpublic PartitionRequestClient createPartitionRequestClient(ConnectionID connectionId)
ConnectionManagerPartitionRequestClient instance for the given ConnectionID.public void closeOpenChannelConnections(ConnectionID connectionId)
ConnectionManagercloseOpenChannelConnections 在接口中 ConnectionManagerpublic int getNumberOfActiveConnections()
public void shutdown()
shutdown 在接口中 ConnectionManagerCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.