类 CuratorZookeeperClient
- java.lang.Object
-
- org.apache.dubbo.remoting.zookeeper.AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl>
-
- org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient
-
- 所有已实现的接口:
ZookeeperClient
public class CuratorZookeeperClient extends AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl>
-
-
构造器概要
构造器 构造器 说明 CuratorZookeeperClient(URL url)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<String>addTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)booleancheckExists(String path)voidcreateEphemeral(String path)voidcreatePersistent(String path)org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImplcreateTargetChildListener(String path, ChildListener listener)voiddoClose()StringdoGetContent(String path)List<String>getChildren(String path)booleanisConnected()voidremoveTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)-
从类继承的方法 org.apache.dubbo.remoting.zookeeper.AbstractZookeeperClient
addChildListener, addDataListener, addDataListener, addStateListener, close, create, create, delete, getContent, getSessionListeners, getUrl, removeChildListener, removeDataListener, removeStateListener
-
-
-
-
构造器详细资料
-
CuratorZookeeperClient
public CuratorZookeeperClient(URL url)
-
-
方法详细资料
-
createPersistent
public void createPersistent(String path)
-
createEphemeral
public void createEphemeral(String path)
-
checkExists
public boolean checkExists(String path)
-
isConnected
public boolean isConnected()
-
doClose
public void doClose()
-
createTargetChildListener
public org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl createTargetChildListener(String path, ChildListener listener)
-
addTargetChildListener
public List<String> addTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)
-
removeTargetChildListener
public void removeTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)
-
-