Class 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
- All Implemented Interfaces:
ZookeeperClient
public class CuratorZookeeperClient
extends AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener) booleancheckExists(String path) voidcreateEphemeral(String path, boolean faultTolerant) voidcreatePersistent(String path, boolean faultTolerant) org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImplcreateTargetChildListener(String path, ChildListener listener) voiddoClose()doGetConfigItem(String path) doGetContent(String path) getChildren(String path) booleanvoidremoveTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener) Methods inherited from class org.apache.dubbo.remoting.zookeeper.AbstractZookeeperClient
addChildListener, addDataListener, addDataListener, addStateListener, close, create, createOrUpdate, createOrUpdate, delete, getConfigItem, getContent, getSessionListeners, getUrl, removeChildListener, removeDataListener, removeStateListener
-
Constructor Details
-
CuratorZookeeperClient
-
-
Method Details
-
createPersistent
-
createEphemeral
-
getChildren
-
checkExists
- Specified by:
checkExistsin interfaceZookeeperClient- Specified by:
checkExistsin classAbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.NodeCacheListenerImpl,org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl>
-
isConnected
public boolean isConnected() -
doGetContent
-
doGetConfigItem
-
doClose
public void doClose() -
createTargetChildListener
public org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl createTargetChildListener(String path, ChildListener listener) -
addTargetChildListener
-
removeTargetChildListener
public void removeTargetChildListener(String path, org.apache.dubbo.remoting.zookeeper.curator.CuratorZookeeperClient.CuratorWatcherImpl listener)
-