类 XdsRegistry
- java.lang.Object
-
- org.apache.dubbo.registry.support.AbstractRegistry
-
- org.apache.dubbo.registry.support.FailbackRegistry
-
- org.apache.dubbo.registry.xds.XdsRegistry
-
- 所有已实现的接口:
Node,Registry,RegistryService
public class XdsRegistry extends FailbackRegistry
Empty implements for xDS
xDS only support `Service Discovery` mode register
Used to compat past version like 2.6.x, 2.7.x with interface level register
XdsServiceDiscoveryis the real implementation of xDS
-
-
构造器概要
构造器 构造器 说明 XdsRegistry(URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddoRegister(URL url)voiddoSubscribe(URL url, NotifyListener listener)voiddoUnregister(URL url)voiddoUnsubscribe(URL url, NotifyListener listener)booleanisAvailable()is available.-
从类继承的方法 org.apache.dubbo.registry.support.FailbackRegistry
destroy, reExportRegister, reExportUnregister, register, removeFailedRegisteredTask, removeFailedSubscribed, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribe
-
从类继承的方法 org.apache.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, lookup, toString
-
-
-
-
构造器详细资料
-
XdsRegistry
public XdsRegistry(URL url)
-
-
方法详细资料
-
isAvailable
public boolean isAvailable()
从接口复制的说明:Nodeis available.- 返回:
- available.
-
doRegister
public void doRegister(URL url)
- 指定者:
doRegister在类中FailbackRegistry
-
doUnregister
public void doUnregister(URL url)
- 指定者:
doUnregister在类中FailbackRegistry
-
doSubscribe
public void doSubscribe(URL url, NotifyListener listener)
- 指定者:
doSubscribe在类中FailbackRegistry
-
doUnsubscribe
public void doUnsubscribe(URL url, NotifyListener listener)
- 指定者:
doUnsubscribe在类中FailbackRegistry
-
-