public class Curator5ZookeeperClient extends AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl>
| Constructor and Description |
|---|
Curator5ZookeeperClient(URL url) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addTargetChildListener(String path,
org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener) |
boolean |
checkExists(String path) |
void |
createEphemeral(String path,
boolean faultTolerant) |
void |
createPersistent(String path,
boolean faultTolerant) |
org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.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.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener) |
addChildListener, addDataListener, addDataListener, addStateListener, close, create, createOrUpdate, createOrUpdate, delete, getConfigItem, getContent, getSessionListeners, getUrl, removeChildListener, removeDataListener, removeStateListenerpublic Curator5ZookeeperClient(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.curator5.Curator5ZookeeperClient.CuratorWatcherImpl createTargetChildListener(String path, ChildListener listener)
public List<String> addTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener)
public void removeTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.