com.alibaba.dubbo.remoting.zookeeper.curator
Class CuratorZookeeperClient
java.lang.Object
com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>
com.alibaba.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient
- All Implemented Interfaces:
- ZookeeperClient
public class CuratorZookeeperClient
- extends AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>
CuratorZookeeperClient
public CuratorZookeeperClient(URL url)
createPersistent
public void createPersistent(String path)
createEphemeral
public void createEphemeral(String path)
delete
public void delete(String path)
getChildren
public List<String> getChildren(String path)
isConnected
public boolean isConnected()
doClose
public void doClose()
createTargetChildListener
public org.apache.curator.framework.api.CuratorWatcher createTargetChildListener(String path,
ChildListener listener)
addTargetChildListener
public List<String> addTargetChildListener(String path,
org.apache.curator.framework.api.CuratorWatcher listener)
removeTargetChildListener
public void removeTargetChildListener(String path,
org.apache.curator.framework.api.CuratorWatcher listener)
Copyright © 2012–2017 Alibaba. All rights reserved.