com.alibaba.dubbo.remoting.zookeeper.curator
Class CuratorZookeeperClient

java.lang.Object
  extended by com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>
      extended by com.alibaba.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient
All Implemented Interfaces:
ZookeeperClient

public class CuratorZookeeperClient
extends AbstractZookeeperClient<org.apache.curator.framework.api.CuratorWatcher>


Constructor Summary
CuratorZookeeperClient(URL url)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.alibaba.dubbo.remoting.zookeeper.support.AbstractZookeeperClient
addChildListener, addStateListener, close, create, getSessionListeners, getUrl, removeChildListener, removeStateListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CuratorZookeeperClient

public CuratorZookeeperClient(URL url)
Method Detail

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.