public abstract class CommandFailbackRegistry extends FailbackRegistry
registryClassName| 构造器和说明 |
|---|
CommandFailbackRegistry(URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<URL> |
commandPreview(URL url,
RpcCommand rpcCommand,
String previewIP) |
protected List<URL> |
concreteDiscover(URL url) |
protected void |
concreteSubscribe(URL url,
NotifyListener listener) |
protected void |
concreteUnsubscribe(URL url,
NotifyListener listener) |
protected abstract String |
discoverCommand(URL url) |
protected abstract List<URL> |
discoverService(URL url) |
ConcurrentHashMap<URL,CommandServiceManager> |
getCommandManagerMap() |
protected abstract void |
subscribeCommand(URL url,
CommandListener listener) |
protected abstract void |
subscribeService(URL url,
ServiceListener listener) |
protected abstract void |
unsubscribeCommand(URL url,
CommandListener listener) |
protected abstract void |
unsubscribeService(URL url,
ServiceListener listener) |
concreteRegister, concreteUnregister, doDiscover, doRegister, doSubscribe, doUnregister, doUnsubscribediscover, getCachedUrls, getUrl, notify, register, subscribe, unregister, unsubscribepublic CommandFailbackRegistry(URL url)
protected void concreteSubscribe(URL url, NotifyListener listener)
concreteSubscribe 在类中 FailbackRegistryprotected void concreteUnsubscribe(URL url, NotifyListener listener)
concreteUnsubscribe 在类中 FailbackRegistryprotected List<URL> concreteDiscover(URL url)
concreteDiscover 在类中 FailbackRegistrypublic List<URL> commandPreview(URL url, RpcCommand rpcCommand, String previewIP)
public ConcurrentHashMap<URL,CommandServiceManager> getCommandManagerMap()
protected abstract void subscribeService(URL url, ServiceListener listener)
protected abstract void subscribeCommand(URL url, CommandListener listener)
protected abstract void unsubscribeService(URL url, ServiceListener listener)
protected abstract void unsubscribeCommand(URL url, CommandListener listener)
Copyright © 2016. All rights reserved.