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| Modifier and Type | Method and Description |
|---|---|
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, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDelay, isServiceDiscoveryisAvailablepublic void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe in class FailbackRegistryCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.