类 DubboRegistry
- java.lang.Object
-
- org.apache.dubbo.registry.support.AbstractRegistry
-
- org.apache.dubbo.registry.support.FailbackRegistry
-
- org.apache.dubbo.registry.dubbo.DubboRegistry
-
- 所有已实现的接口:
Node,Registry,RegistryService
public class DubboRegistry extends FailbackRegistry
DubboRegistry
-
-
构造器概要
构造器 构造器 说明 DubboRegistry(Invoker<RegistryService> registryInvoker, RegistryService registryService)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroy()destroy.voiddoRegister(URL url)voiddoSubscribe(URL url, NotifyListener listener)voiddoUnregister(URL url)voiddoUnsubscribe(URL url, NotifyListener listener)booleanisAvailable()is available.List<URL>lookup(URL url)Query the registered data that matches the conditions.-
从类继承的方法 org.apache.dubbo.registry.support.FailbackRegistry
reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribe
-
从类继承的方法 org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toString
-
-
-
-
构造器详细资料
-
DubboRegistry
public DubboRegistry(Invoker<RegistryService> registryInvoker, RegistryService registryService)
-
-
方法详细资料
-
isAvailable
public boolean isAvailable()
从接口复制的说明:Nodeis available.- 返回:
- available.
-
destroy
public void destroy()
从接口复制的说明:Nodedestroy.- 指定者:
destroy在接口中Node- 覆盖:
destroy在类中FailbackRegistry
-
doRegister
public void doRegister(URL url)
- 指定者:
doRegister在类中FailbackRegistry
-
doUnregister
public void doUnregister(URL url)
- 指定者:
doUnregister在类中FailbackRegistry
-
doSubscribe
public void doSubscribe(URL url, NotifyListener listener)
- 指定者:
doSubscribe在类中FailbackRegistry
-
doUnsubscribe
public void doUnsubscribe(URL url, NotifyListener listener)
- 指定者:
doUnsubscribe在类中FailbackRegistry
-
lookup
public List<URL> lookup(URL url)
从接口复制的说明:RegistryServiceQuery the registered data that matches the conditions. Corresponding to the push mode of the subscription, this is the pull mode and returns only one result.- 指定者:
lookup在接口中RegistryService- 覆盖:
lookup在类中AbstractRegistry- 参数:
url- Query condition, is not allowed to be empty, e.g. consumer://10.20.153.10/org.apache.dubbo.foo.BarService?version=1.0.0&application=kylin- 返回:
- The registered information list, which may be empty, the meaning is the same as the parameters of
org.apache.dubbo.registry.NotifyListener#notify(List.) - 另请参阅:
NotifyListener.notify(List)
-
-