public class BtnConnectionPoolManager extends ConnectionPoolManager
| 构造器和说明 |
|---|
BtnConnectionPoolManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
TcpConnection |
getConnection(boolean nodeRegister) |
TcpConnection |
getConnection(String endpoint) |
TcpConnection |
getConnectionForHeartBeart(String endpoint) |
List<TcpConnection> |
getTcpConnectionList() |
boolean |
removeConnection(String endpoint) |
boolean |
saveConnection(String endpoint,
BtnTcpConnection btnTcpConnection,
Map<String,Boolean> nodeAndNodeGroupStatus) |
void |
shutDown() |
boolean |
startup(NetworkOption networkOption,
ISslOption iSslOption,
MessageProcessor messageProcessor,
TimerTaskManager timerTaskManager,
String nodeId) |
boolean |
startup(NetworkOption networkOption,
ISslOption iSslOption,
MessageProcessor messageProcessor,
TimerTaskManager timerTaskManager,
String nodeId,
NodeGroupIsRegisterObserver nodeGroupIsRegisterObserver) |
public boolean startup(NetworkOption networkOption, ISslOption iSslOption, MessageProcessor messageProcessor, TimerTaskManager timerTaskManager, String nodeId)
public boolean startup(NetworkOption networkOption, ISslOption iSslOption, MessageProcessor messageProcessor, TimerTaskManager timerTaskManager, String nodeId, NodeGroupIsRegisterObserver nodeGroupIsRegisterObserver)
public void shutDown()
public TcpConnection getConnection(boolean nodeRegister)
public TcpConnection getConnection(String endpoint)
public TcpConnection getConnectionForHeartBeart(String endpoint)
public boolean removeConnection(String endpoint)
public boolean saveConnection(String endpoint, BtnTcpConnection btnTcpConnection, Map<String,Boolean> nodeAndNodeGroupStatus)
public List<TcpConnection> getTcpConnectionList()
Copyright © 2022. All rights reserved.