public class CuratorZookeeperClient extends AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl>
| 构造器和说明 |
|---|
CuratorZookeeperClient(URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
addTargetChildListener(String path,
org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener) |
boolean |
checkExists(String path) |
void |
createEphemeral(String path,
boolean faultTolerant) |
void |
createPersistent(String path,
boolean faultTolerant) |
org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl |
createTargetChildListener(String path,
ChildListener listener) |
void |
doClose() |
ConfigItem |
doGetConfigItem(String path) |
String |
doGetContent(String path) |
List<String> |
getChildren(String path) |
boolean |
isConnected() |
void |
removeTargetChildListener(String path,
org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener) |
addChildListener, addDataListener, addDataListener, addStateListener, close, create, createOrUpdate, createOrUpdate, delete, getConfigItem, getContent, getSessionListeners, getUrl, removeChildListener, removeDataListener, removeStateListenerpublic CuratorZookeeperClient(URL url)
public void createPersistent(String path, boolean faultTolerant)
public void createEphemeral(String path, boolean faultTolerant)
public boolean checkExists(String path)
public boolean isConnected()
public ConfigItem doGetConfigItem(String path)
public void doClose()
public org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl createTargetChildListener(String path, ChildListener listener)
public List<String> addTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)
public void removeTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.