Service.Election, Service.ElectionListenerActivity.ServiceState| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
ClientGroupManager(TransportConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
closeClientGroup(BrokerNode node) |
void |
closeClientGroup(ClientGroup clientGroup) |
protected void |
doStop() |
ClientGroup |
getClientGroup(BrokerNode node) |
ClientGroup |
getClientGroup(BrokerNode node,
Callable<ClientGroup> callable) |
List<ClientGroup> |
getGroups() |
ClientGroup |
tryGetClientGroup(BrokerNode node) |
protected void |
validate() |
getServiceState, isReady, isStarted, isStopped, start, stop, stop, willStopafterStart, afterStop, await, beforeStart, beforeStop, convert, doStart, getReadLock, getWriteLock, startErrorpublic ClientGroupManager(TransportConfig config)
public ClientGroup tryGetClientGroup(BrokerNode node)
public ClientGroup getClientGroup(BrokerNode node)
public ClientGroup getClientGroup(BrokerNode node, Callable<ClientGroup> callable) throws Exception
Exceptionpublic void closeClientGroup(ClientGroup clientGroup)
public void closeClientGroup(BrokerNode node)
public List<ClientGroup> getGroups()
Copyright © 2020 Joyqueue Community. All rights reserved.