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 |
|---|---|
boolean |
checkExists(String path) |
void |
createEphemeral(String path) |
void |
createPersistent(String path) |
org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl |
createTargetChildListener(String path,
ChildListener listener) |
void |
doClose() |
String |
doGetContent(String path) |
List<String> |
getChildren(String path) |
org.apache.curator.framework.CuratorFramework |
getClient()
just for unit test
|
boolean |
isConnected() |
void |
removeTargetChildListener(String path,
org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener) |
addChildListener, addDataListener, addDataListener, addStateListener, close, create, create, delete, getContent, getSessionListeners, getUrl, removeChildListener, removeDataListener, removeStateListenerpublic Curator5ZookeeperClient(URL url)
public void createPersistent(String path)
public void createEphemeral(String path)
public boolean checkExists(String path)
public boolean isConnected()
public void doClose()
public org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl createTargetChildListener(String path, ChildListener listener)
public void removeTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener)
public org.apache.curator.framework.CuratorFramework getClient()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.