public class ConsulRegistry extends CommandFailbackRegistry
registryClassName| 构造器和说明 |
|---|
ConsulRegistry(URL url,
MotanConsulClient client) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
discoverCommand(URL url) |
protected List<URL> |
discoverService(URL url) |
protected void |
doAvailable(URL url) |
protected void |
doRegister(URL url) |
protected void |
doUnavailable(URL url) |
protected void |
doUnregister(URL url) |
ConcurrentHashMap<String,ConcurrentHashMap<URL,CommandListener>> |
getCommandListeners() |
ConcurrentHashMap<String,ConcurrentHashMap<URL,ServiceListener>> |
getServiceListeners() |
protected void |
subscribeCommand(URL url,
CommandListener commandListener) |
protected void |
subscribeService(URL url,
ServiceListener serviceListener) |
protected void |
unsubscribeCommand(URL url,
CommandListener listener) |
protected void |
unsubscribeService(URL url,
ServiceListener listener) |
commandPreview, doDiscover, doSubscribe, doUnsubscribe, getCommandManagerMapdiscover, register, subscribe, unregister, unsubscribeavailable, getCachedUrls, getRegisteredServiceUrls, getUrl, notify, unavailablepublic ConsulRegistry(URL url, MotanConsulClient client)
public ConcurrentHashMap<String,ConcurrentHashMap<URL,ServiceListener>> getServiceListeners()
public ConcurrentHashMap<String,ConcurrentHashMap<URL,CommandListener>> getCommandListeners()
protected void doRegister(URL url)
doRegister 在类中 AbstractRegistryprotected void doUnregister(URL url)
doUnregister 在类中 AbstractRegistryprotected void doAvailable(URL url)
doAvailable 在类中 AbstractRegistryprotected void doUnavailable(URL url)
doUnavailable 在类中 AbstractRegistryprotected void subscribeService(URL url, ServiceListener serviceListener)
subscribeService 在类中 CommandFailbackRegistryprotected void subscribeCommand(URL url, CommandListener commandListener)
subscribeCommand 在类中 CommandFailbackRegistryprotected void unsubscribeService(URL url, ServiceListener listener)
protected void unsubscribeCommand(URL url, CommandListener listener)
protected List<URL> discoverService(URL url)
discoverService 在类中 CommandFailbackRegistryprotected String discoverCommand(URL url)
discoverCommand 在类中 CommandFailbackRegistryCopyright © 2017. All rights reserved.