public abstract class CommandFailbackRegistry extends FailbackRegistry
registryClassName| 构造器和说明 |
|---|
CommandFailbackRegistry(URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<URL> |
commandPreview(URL url,
RpcCommand rpcCommand,
String previewIP) |
protected abstract String |
discoverCommand(URL url) |
protected abstract List<URL> |
discoverService(URL url) |
protected List<URL> |
doDiscover(URL url) |
protected void |
doSubscribe(URL url,
NotifyListener listener) |
protected void |
doUnsubscribe(URL url,
NotifyListener listener) |
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) |
discover, register, subscribe, unregister, unsubscribeavailable, doAvailable, doRegister, doUnavailable, doUnregister, getCachedUrls, getRegisteredServiceUrls, getUrl, notify, unavailablepublic CommandFailbackRegistry(URL url)
protected void doSubscribe(URL url, NotifyListener listener)
doSubscribe 在类中 AbstractRegistryprotected void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe 在类中 AbstractRegistryprotected List<URL> doDiscover(URL url)
doDiscover 在类中 AbstractRegistrypublic 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 © 2017. All rights reserved.