public class DubboRegistry extends FailbackRegistry
| Constructor and Description |
|---|
DubboRegistry(Invoker<RegistryService> registryInvoker,
RegistryService registryService) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
destroy.
|
void |
doRegister(URL url) |
void |
doSubscribe(URL url,
NotifyListener listener) |
void |
doUnregister(URL url) |
void |
doUnsubscribe(URL url,
NotifyListener listener) |
boolean |
isAvailable()
is available.
|
List<URL> |
lookup(URL url)
Query the registered data that matches the conditions.
|
reExportRegister, reExportUnregister, register, removeFailedNotifiedTask, removeFailedRegisteredTask, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, 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 in interface Nodedestroy in class FailbackRegistrypublic void doRegister(URL url)
doRegister in class FailbackRegistrypublic void doUnregister(URL url)
doUnregister in class FailbackRegistrypublic void doSubscribe(URL url, NotifyListener listener)
doSubscribe in class FailbackRegistrypublic void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe in class FailbackRegistrypublic List<URL> lookup(URL url)
RegistryServicelookup in interface RegistryServicelookup in class AbstractRegistryurl - 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=kylinorg.apache.dubbo.registry.NotifyListener#notify(List) .NotifyListener.notify(List)Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.