public class DubboRegistry extends FailbackRegistry
| 构造器和说明 |
|---|
DubboRegistry(Invoker<RegistryService> registryInvoker,
RegistryService registryService) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
boolean |
isAvailable()
is available.
|
List<URL> |
lookup(URL url)
查询符合条件的已注册数据,与订阅的推模式相对应,这里为拉模式,只返回一次结果。
|
getFailedNotified, getFailedRegistered, getFailedSubscribed, getFailedUnregistered, getFailedUnsubscribed, getRetryFuture, register, subscribe, unregister, unsubscribedoSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toStringpublic DubboRegistry(Invoker<RegistryService> registryInvoker, RegistryService registryService)
public boolean isAvailable()
Nodepublic void destroy()
Nodedestroy 在接口中 Nodedestroy 在类中 FailbackRegistrypublic List<URL> lookup(URL url)
RegistryServicelookup 在接口中 RegistryServicelookup 在类中 AbstractRegistryurl - 查询条件,不允许为空,如:consumer://10.20.153.10/com.alibaba.foo.BarService?version=1.0.0&application=kylincom.alibaba.dubbo.registry.NotifyListener#notify(List) 的参数。NotifyListener.notify(List)Copyright © 2012–2017 Alibaba. All rights reserved.