public class ZookeeperRegistry extends FailbackRegistry
| 构造器和说明 |
|---|
ZookeeperRegistry(URL url,
org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
destroy.
|
void |
doRegister(URL url) |
void |
doSubscribe(URL url,
NotifyListener listener) |
void |
doUnregister(URL url) |
void |
doUnsubscribe(URL url,
NotifyListener listener) |
boolean |
isAvailable()
is available.
|
List<URL> |
lookup(URL url)
Query the registered data that matches the conditions.
|
register, removeFailedNotifiedTask, removeFailedRegisteredTask, removeFailedSubscribedTask, removeFailedUnregisteredTask, removeFailedUnsubscribedTask, subscribe, unregister, unsubscribedoSaveProperties, getCacheFile, getCacheProperties, getCacheUrls, getLastCacheChanged, getNotified, getRegistered, getSubscribed, getUrl, toStringpublic ZookeeperRegistry(URL url, org.apache.dubbo.remoting.zookeeper.ZookeeperTransporter zookeeperTransporter)
public boolean isAvailable()
Nodepublic void destroy()
Nodedestroy 在接口中 Nodedestroy 在类中 FailbackRegistrypublic void doRegister(URL url)
doRegister 在类中 FailbackRegistrypublic void doUnregister(URL url)
doUnregister 在类中 FailbackRegistrypublic void doSubscribe(URL url, NotifyListener listener)
doSubscribe 在类中 FailbackRegistrypublic void doUnsubscribe(URL url, NotifyListener listener)
doUnsubscribe 在类中 FailbackRegistrypublic List<URL> lookup(URL url)
RegistryServicelookup 在接口中 RegistryServicelookup 在类中 AbstractRegistryurl - Query condition, is not allowed to be empty, e.g. consumer://10.20.153.10/org.apache.dubbo.foo.BarService?version=1.0.0&application=kylinorg.apache.dubbo.registry.NotifyListener#notify(List) .NotifyListener.notify(List)Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.