public class MultipleRegistry extends AbstractRegistry
| Modifier and Type | Field and Description |
|---|---|
static org.apache.dubbo.common.logger.Logger |
LOGGER |
static String |
REGISTRY_FOR_REFERENCE |
static String |
REGISTRY_FOR_SERVICE |
static String |
REGISTRY_SEPARATOR |
| Constructor and Description |
|---|
MultipleRegistry(org.apache.dubbo.common.URL url) |
MultipleRegistry(org.apache.dubbo.common.URL url,
boolean initServiceRegistry,
boolean initReferenceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
List<String> |
getEffectReferenceRegistryURLs() |
List<String> |
getEffectServiceRegistryURLs() |
List<String> |
getOrigReferenceRegistryURLs() |
List<String> |
getOrigServiceRegistryURLs() |
Map<String,Registry> |
getReferenceRegistries() |
Map<String,Registry> |
getServiceRegistries() |
org.apache.dubbo.common.URL |
getUrl() |
boolean |
isAvailable() |
List<org.apache.dubbo.common.URL> |
lookup(org.apache.dubbo.common.URL url) |
void |
register(org.apache.dubbo.common.URL url) |
void |
subscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
void |
unregister(org.apache.dubbo.common.URL url) |
void |
unsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener) |
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDelay, isServiceDiscovery, reExportRegister, reExportUnregisterpublic static final org.apache.dubbo.common.logger.Logger LOGGER
public static final String REGISTRY_FOR_SERVICE
public static final String REGISTRY_FOR_REFERENCE
public static final String REGISTRY_SEPARATOR
public MultipleRegistry(org.apache.dubbo.common.URL url)
public MultipleRegistry(org.apache.dubbo.common.URL url,
boolean initServiceRegistry,
boolean initReferenceRegistry)
public org.apache.dubbo.common.URL getUrl()
getUrl in interface org.apache.dubbo.common.NodegetUrl in class AbstractRegistrypublic boolean isAvailable()
public void destroy()
destroy in interface org.apache.dubbo.common.Nodedestroy in class AbstractRegistrypublic void register(org.apache.dubbo.common.URL url)
register in interface RegistryServiceregister in class AbstractRegistrypublic void unregister(org.apache.dubbo.common.URL url)
unregister in interface RegistryServiceunregister in class AbstractRegistrypublic void subscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
subscribe in interface RegistryServicesubscribe in class AbstractRegistrypublic void unsubscribe(org.apache.dubbo.common.URL url,
NotifyListener listener)
unsubscribe in interface RegistryServiceunsubscribe in class AbstractRegistrypublic List<org.apache.dubbo.common.URL> lookup(org.apache.dubbo.common.URL url)
lookup in interface RegistryServicelookup in class AbstractRegistryCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.