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() |
List<URL> |
lookup(URL url) |
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()
public List<URL> lookup(URL url)
lookup 在接口中 RegistryServicelookup 在类中 AbstractRegistrypublic 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.