Class CacheableFailbackRegistry
java.lang.Object
org.apache.dubbo.registry.support.AbstractRegistry
org.apache.dubbo.registry.support.FailbackRegistry
org.apache.dubbo.registry.support.CacheableFailbackRegistry
- All Implemented Interfaces:
Node,Registry,RegistryService
Based on FailbackRegistry, it adds a URLAddress and URLParam cache to save RAM space.
It's useful for registries whose sdk returns raw string as provider instance. For example, Zookeeper and etcd.
- See Also:
-
Method Summary
Methods inherited from class org.apache.dubbo.registry.support.FailbackRegistry
destroy, doRegister, doSubscribe, doUnregister, 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, lookup, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.Node
isAvailableMethods inherited from interface org.apache.dubbo.registry.Registry
getDelay, isServiceDiscovery
-
Method Details
-
doUnsubscribe
- Specified by:
doUnsubscribein classFailbackRegistry
-