类 MultipleRegistry
- java.lang.Object
-
- org.apache.dubbo.registry.support.AbstractRegistry
-
- org.apache.dubbo.registry.multiple.MultipleRegistry
-
- 所有已实现的接口:
org.apache.dubbo.common.Node,Registry,RegistryService
public class MultipleRegistry extends AbstractRegistry
MultipleRegistry
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringREGISTRY_FOR_REFERENCEstatic StringREGISTRY_FOR_SERVICE
-
构造器概要
构造器 构造器 说明 MultipleRegistry(org.apache.dubbo.common.URL url)MultipleRegistry(org.apache.dubbo.common.URL url, boolean initServiceRegistry, boolean initReferenceRegistry)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroy()List<String>getEffectReferenceRegistryURLs()List<String>getEffectServiceRegistryURLs()List<String>getOrigReferenceRegistryURLs()List<String>getOrigServiceRegistryURLs()Map<String,Registry>getReferenceRegistries()Map<String,Registry>getServiceRegistries()org.apache.dubbo.common.URLgetUrl()booleanisAvailable()List<org.apache.dubbo.common.URL>lookup(org.apache.dubbo.common.URL url)voidregister(org.apache.dubbo.common.URL url)voidsubscribe(org.apache.dubbo.common.URL url, NotifyListener listener)voidunregister(org.apache.dubbo.common.URL url)voidunsubscribe(org.apache.dubbo.common.URL url, NotifyListener listener)-
从类继承的方法 org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, toString
-
从接口继承的方法 org.apache.dubbo.registry.Registry
getDelay, reExportRegister, reExportUnregister
-
-
-
-
方法详细资料
-
getUrl
public org.apache.dubbo.common.URL getUrl()
- 指定者:
getUrl在接口中org.apache.dubbo.common.Node- 覆盖:
getUrl在类中AbstractRegistry
-
isAvailable
public boolean isAvailable()
-
destroy
public void destroy()
- 指定者:
destroy在接口中org.apache.dubbo.common.Node- 覆盖:
destroy在类中AbstractRegistry
-
register
public void register(org.apache.dubbo.common.URL url)
- 指定者:
register在接口中RegistryService- 覆盖:
register在类中AbstractRegistry
-
unregister
public void unregister(org.apache.dubbo.common.URL url)
- 指定者:
unregister在接口中RegistryService- 覆盖:
unregister在类中AbstractRegistry
-
subscribe
public void subscribe(org.apache.dubbo.common.URL url, NotifyListener listener)- 指定者:
subscribe在接口中RegistryService- 覆盖:
subscribe在类中AbstractRegistry
-
unsubscribe
public void unsubscribe(org.apache.dubbo.common.URL url, NotifyListener listener)- 指定者:
unsubscribe在接口中RegistryService- 覆盖:
unsubscribe在类中AbstractRegistry
-
lookup
public List<org.apache.dubbo.common.URL> lookup(org.apache.dubbo.common.URL url)
- 指定者:
lookup在接口中RegistryService- 覆盖:
lookup在类中AbstractRegistry
-
-