public class NacosRegistry extends FailbackRegistry
RegistrySERVICE_NAME_SEPARATOR,
PAGINATION_SIZE,
LOOKUP_INTERVAL| 构造器和说明 |
|---|
NacosRegistry(URL url,
NacosNamingServiceWrapper namingService) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
destroy, reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribedoSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toStringpublic NacosRegistry(URL url, NacosNamingServiceWrapper namingService)
public boolean isAvailable()
Nodepublic List<URL> lookup(URL url)
RegistryServicelookup 在接口中 RegistryServicelookup 在类中 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)public void doRegister(URL url)
doRegister 在类中 FailbackRegistrypublic void doUnregister(URL url)
doUnregister 在类中 FailbackRegistrypublic void doSubscribe(URL url, NotifyListener listener)
doSubscribe 在类中 FailbackRegistrypublic void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe 在类中 FailbackRegistryCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.