public class CuratorZookeeperClient extends AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>
| 构造器和说明 |
|---|
CuratorZookeeperClient(URL url) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<String> |
addTargetChildListener(String path,
org.apache.curator.framework.api.CuratorWatcher listener) |
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 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–2017 Alibaba. All rights reserved.