public class CuratorZookeeperClient extends AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>
| Constructor and Description |
|---|
CuratorZookeeperClient(URL url) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addTargetChildListener(String path,
org.apache.curator.framework.api.CuratorWatcher listener) |
boolean |
checkExists(String path) |
void |
createEphemeral(String path) |
void |
createPersistent(String path) |
org.apache.curator.framework.api.CuratorWatcher |
createTargetChildListener(String path,
ChildListener listener) |
void |
delete(String path) |
void |
doClose() |
List<String> |
getChildren(String path) |
boolean |
isConnected() |
void |
removeTargetChildListener(String path,
org.apache.curator.framework.api.CuratorWatcher listener) |
addChildListener, addStateListener, close, create, getSessionListeners, getUrl, removeChildListener, removeStateListenerpublic CuratorZookeeperClient(URL url)
public void createPersistent(String path)
public void createEphemeral(String path)
public void delete(String path)
public boolean checkExists(String path)
public boolean isConnected()
public void doClose()
public org.apache.curator.framework.api.CuratorWatcher createTargetChildListener(String path, ChildListener listener)
public List<String> addTargetChildListener(String path, org.apache.curator.framework.api.CuratorWatcher listener)
public void removeTargetChildListener(String path, org.apache.curator.framework.api.CuratorWatcher listener)
Copyright © 2012–2018 The Dubbo Project. All rights reserved.