Package org.apache.dubbo.registry.nacos
Class NacosRegistry
java.lang.Object
org.apache.dubbo.registry.support.AbstractRegistry
org.apache.dubbo.registry.support.FailbackRegistry
org.apache.dubbo.registry.nacos.NacosRegistry
- All Implemented Interfaces:
Node,Registry,RegistryService
Nacos
Registry- Since:
- 2.6.5
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoRegister(URL url) voiddoSubscribe(URL url, NotifyListener listener) voiddoUnregister(URL url) voiddoUnsubscribe(URL url, NotifyListener listener) booleanMethods inherited from class org.apache.dubbo.registry.support.FailbackRegistry
reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribeMethods inherited from class org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, 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
-
Constructor Details
-
NacosRegistry
-
-
Method Details
-
isAvailable
public boolean isAvailable() -
lookup
- Specified by:
lookupin interfaceRegistryService- Overrides:
lookupin classAbstractRegistry
-
doRegister
- Specified by:
doRegisterin classFailbackRegistry
-
doUnregister
- Specified by:
doUnregisterin classFailbackRegistry
-
doSubscribe
- Specified by:
doSubscribein classFailbackRegistry
-
doUnsubscribe
- Specified by:
doUnsubscribein classFailbackRegistry
-
destroy
public void destroy()- Specified by:
destroyin interfaceNode- Overrides:
destroyin classFailbackRegistry
-