public interface ConnectionManager
| 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() |
void |
start(ResultPartitionProvider partitionProvider,
TaskEventDispatcher taskEventDispatcher,
NetworkBufferPool networkbufferPool) |
void start(ResultPartitionProvider partitionProvider, TaskEventDispatcher taskEventDispatcher, NetworkBufferPool networkbufferPool) throws IOException
IOExceptionPartitionRequestClient createPartitionRequestClient(ConnectionID connectionId) throws IOException, InterruptedException
PartitionRequestClient instance for the given ConnectionID.IOExceptionInterruptedExceptionvoid closeOpenChannelConnections(ConnectionID connectionId)
int getNumberOfActiveConnections()
void shutdown()
throws IOException
IOExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.