Class MultipleRegistry
java.lang.Object
org.apache.dubbo.registry.support.AbstractRegistry
org.apache.dubbo.registry.multiple.MultipleRegistry
- All Implemented Interfaces:
org.apache.dubbo.common.Node,Registry,RegistryService
MultipleRegistry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultipleRegistry(org.apache.dubbo.common.URL url) MultipleRegistry(org.apache.dubbo.common.URL url, boolean initServiceRegistry, boolean initReferenceRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()org.apache.dubbo.common.URLgetUrl()booleanList<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) Methods inherited from class org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.registry.Registry
getDelay, isServiceDiscovery, reExportRegister, reExportUnregister
-
Field Details
-
LOGGER
public static final org.apache.dubbo.common.logger.Logger LOGGER -
REGISTRY_FOR_SERVICE
- See Also:
-
REGISTRY_FOR_REFERENCE
- See Also:
-
REGISTRY_SEPARATOR
- See Also:
-
-
Constructor Details
-
MultipleRegistry
public MultipleRegistry(org.apache.dubbo.common.URL url) -
MultipleRegistry
public MultipleRegistry(org.apache.dubbo.common.URL url, boolean initServiceRegistry, boolean initReferenceRegistry)
-
-
Method Details
-
getUrl
public org.apache.dubbo.common.URL getUrl()- Specified by:
getUrlin interfaceorg.apache.dubbo.common.Node- Overrides:
getUrlin classAbstractRegistry
-
isAvailable
public boolean isAvailable() -
destroy
public void destroy()- Specified by:
destroyin interfaceorg.apache.dubbo.common.Node- Overrides:
destroyin classAbstractRegistry
-
register
public void register(org.apache.dubbo.common.URL url) - Specified by:
registerin interfaceRegistryService- Overrides:
registerin classAbstractRegistry
-
unregister
public void unregister(org.apache.dubbo.common.URL url) - Specified by:
unregisterin interfaceRegistryService- Overrides:
unregisterin classAbstractRegistry
-
subscribe
- Specified by:
subscribein interfaceRegistryService- Overrides:
subscribein classAbstractRegistry
-
unsubscribe
- Specified by:
unsubscribein interfaceRegistryService- Overrides:
unsubscribein classAbstractRegistry
-
lookup
- Specified by:
lookupin interfaceRegistryService- Overrides:
lookupin classAbstractRegistry
-
getServiceRegistries
-
getReferenceRegistries
-
getOrigServiceRegistryURLs
-
getOrigReferenceRegistryURLs
-
getEffectServiceRegistryURLs
-
getEffectReferenceRegistryURLs
-