public class DefaultClientConnectionManager extends DefaultConnectionManager implements ClientConnectionManager
addressParser, connectionEventHandler, connectionEventListener, connectionFactory, connectionSelectStrategy, connTasks, healTasks| 构造器和说明 |
|---|
DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy,
ConnectionFactory connectionFactory,
ConnectionEventHandler connectionEventHandler,
ConnectionEventListener connectionEventListener) |
DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy,
ConnectionFactory connectionFactory,
ConnectionEventHandler connectionEventHandler,
ConnectionEventListener connectionEventListener,
GlobalSwitch globalSwitch) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
startup() |
add, add, check, count, create, create, create, createConnectionAndHealIfNeed, createConnectionInManagement, disableHeartbeat, enableHeartbeat, get, getAddressParser, getAll, getAll, getAndCreateIfAbsent, getConnectionEventHandler, getConnectionEventListener, getConnectionFactory, getConnectionSelectStrategy, getConnPools, init, remove, remove, remove, removeAll, removeTask, scan, setAddressParser, setConnectionEventHandler, setConnectionEventListener, setConnectionFactory, setConnectionSelectStrategy, shutdownensureStarted, isStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, check, count, create, create, create, createConnectionAndHealIfNeed, createConnectionInManagement, get, getAll, getAll, getAndCreateIfAbsent, init, remove, remove, remove, removeAllpublic DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener)
public DefaultClientConnectionManager(ConnectionSelectStrategy connectionSelectStrategy, ConnectionFactory connectionFactory, ConnectionEventHandler connectionEventHandler, ConnectionEventListener connectionEventListener, GlobalSwitch globalSwitch)
public void startup()
throws LifeCycleException
startup 在接口中 LifeCyclestartup 在类中 DefaultConnectionManagerLifeCycleExceptionCopyright © 2020. All rights reserved.