public abstract class CacheableFailbackRegistry extends FailbackRegistry
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.
FailbackRegistry,
AbstractRegistry| 限定符和类型 | 方法和说明 |
|---|---|
void |
doUnsubscribe(URL url,
NotifyListener listener) |
destroy, doRegister, doSubscribe, doUnregister, reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribedoSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, lookup, toStringgetDelay, isServiceDiscoveryisAvailablepublic void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe 在类中 FailbackRegistryCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.