类 Curator5ZookeeperClient

  • 所有已实现的接口:
    ZookeeperClient

    public class Curator5ZookeeperClient
    extends AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.NodeCacheListenerImpl,​org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl>
    • 构造器详细资料

      • Curator5ZookeeperClient

        public Curator5ZookeeperClient​(URL url)
    • 方法详细资料

      • createPersistent

        public void createPersistent​(String path)
      • createEphemeral

        public void createEphemeral​(String path)
      • checkExists

        public boolean checkExists​(String path)
        指定者:
        checkExists 在接口中 ZookeeperClient
        指定者:
        checkExists 在类中 AbstractZookeeperClient<org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.NodeCacheListenerImpl,​org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl>
      • isConnected

        public boolean isConnected()
      • doGetContent

        public String doGetContent​(String path)
      • doClose

        public void doClose()
      • createTargetChildListener

        public org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl createTargetChildListener​(String path,
                                                                                                                                 ChildListener listener)
      • removeTargetChildListener

        public void removeTargetChildListener​(String path,
                                              org.apache.dubbo.remoting.zookeeper.curator5.Curator5ZookeeperClient.CuratorWatcherImpl listener)
      • getClient

        public org.apache.curator.framework.CuratorFramework getClient()
        just for unit test
        返回: