public class ZookeeperRegistry extends CommandFailbackRegistry
registryClassName| 构造器和说明 |
|---|
ZookeeperRegistry(URL url,
org.I0Itec.zkclient.ZkClient client) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
discoverCommand(URL url) |
protected List<URL> |
discoverService(URL url) |
protected void |
doAvailable(URL url) |
protected void |
doRegister(URL url) |
protected void |
doUnavailable(URL url) |
protected void |
doUnregister(URL url) |
ConcurrentHashMap<URL,ConcurrentHashMap<CommandListener,org.I0Itec.zkclient.IZkDataListener>> |
getCommandListeners() |
ConcurrentHashMap<URL,ConcurrentHashMap<ServiceListener,org.I0Itec.zkclient.IZkChildListener>> |
getServiceListeners() |
protected void |
subscribeCommand(URL url,
CommandListener commandListener) |
protected void |
subscribeService(URL url,
ServiceListener serviceListener) |
protected void |
unsubscribeCommand(URL url,
CommandListener commandListener) |
protected void |
unsubscribeService(URL url,
ServiceListener serviceListener) |
commandPreview, doDiscover, doSubscribe, doUnsubscribe, getCommandManagerMapdiscover, register, subscribe, unregister, unsubscribeavailable, getCachedUrls, getRegisteredServiceUrls, getUrl, notify, unavailablepublic ZookeeperRegistry(URL url, org.I0Itec.zkclient.ZkClient client)
public ConcurrentHashMap<URL,ConcurrentHashMap<ServiceListener,org.I0Itec.zkclient.IZkChildListener>> getServiceListeners()
public ConcurrentHashMap<URL,ConcurrentHashMap<CommandListener,org.I0Itec.zkclient.IZkDataListener>> getCommandListeners()
protected void subscribeService(URL url, ServiceListener serviceListener)
subscribeService 在类中 CommandFailbackRegistryprotected void subscribeCommand(URL url, CommandListener commandListener)
subscribeCommand 在类中 CommandFailbackRegistryprotected void unsubscribeService(URL url, ServiceListener serviceListener)
protected void unsubscribeCommand(URL url, CommandListener commandListener)
protected List<URL> discoverService(URL url)
discoverService 在类中 CommandFailbackRegistryprotected String discoverCommand(URL url)
discoverCommand 在类中 CommandFailbackRegistryprotected void doRegister(URL url)
doRegister 在类中 AbstractRegistryprotected void doUnregister(URL url)
doUnregister 在类中 AbstractRegistryprotected void doAvailable(URL url)
doAvailable 在类中 AbstractRegistryprotected void doUnavailable(URL url)
doUnavailable 在类中 AbstractRegistryCopyright © 2017. All rights reserved.