public class LocalConnectionManager extends Object implements ConnectionManager
| Constructor and Description |
|---|
LocalConnectionManager() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ConnectionManagerpublic PartitionRequestClient createPartitionRequestClient(ConnectionID connectionId)
ConnectionManagerPartitionRequestClient instance for the given ConnectionID.createPartitionRequestClient in interface ConnectionManagerpublic void closeOpenChannelConnections(ConnectionID connectionId)
ConnectionManagercloseOpenChannelConnections in interface ConnectionManagerpublic int getNumberOfActiveConnections()
getNumberOfActiveConnections in interface ConnectionManagerpublic void shutdown()
shutdown in interface ConnectionManagerCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.