类 ZookeeperRegistry
- java.lang.Object
-
- com.alibaba.dubbo.registry.support.AbstractRegistry
-
- com.alibaba.dubbo.registry.support.FailbackRegistry
-
- com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry
-
- 所有已实现的接口:
Node
,Registry
,RegistryService
public class ZookeeperRegistry extends FailbackRegistry
ZookeeperRegistry
-
-
构造器概要
构造器 构造器 说明 ZookeeperRegistry(URL url, com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
destroy()
destroy.boolean
isAvailable()
is available.List<URL>
lookup(URL url)
Query the registered data that matches the conditions.-
从类继承的方法 com.alibaba.dubbo.registry.support.FailbackRegistry
getFailedNotified, getFailedRegistered, getFailedSubscribed, getFailedUnregistered, getFailedUnsubscribed, getRetryFuture, register, subscribe, unregister, unsubscribe
-
从类继承的方法 com.alibaba.dubbo.registry.support.AbstractRegistry
doSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toString
-
-
-
-
构造器详细资料
-
ZookeeperRegistry
public ZookeeperRegistry(URL url, com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter)
-
-
方法详细资料
-
isAvailable
public boolean isAvailable()
从接口复制的说明:Node
is available.- 返回:
- available.
-
destroy
public void destroy()
从接口复制的说明:Node
destroy.- 指定者:
destroy
在接口中Node
- 覆盖:
destroy
在类中FailbackRegistry
-
lookup
public List<URL> lookup(URL url)
从接口复制的说明:RegistryService
Query the registered data that matches the conditions. Corresponding to the push mode of the subscription, this is the pull mode and returns only one result.- 指定者:
lookup
在接口中RegistryService
- 覆盖:
lookup
在类中AbstractRegistry
- 参数:
url
- Query condition, is not allowed to be empty, e.g. consumer://10.20.153.10/com.alibaba.foo.BarService?version=1.0.0&application=kylin- 返回:
- The registered information list, which may be empty, the meaning is the same as the parameters of
com.alibaba.dubbo.registry.NotifyListener#notify(List
.) - 另请参阅:
NotifyListener.notify(List)
-
-