test_class.declarator: zkServer
test_class.modifier: private
test_class.original_string: private TestingServer zkServer;
test_class.type: TestingServer
test_class.var_name: zkServer
test_class.declarator: zkServerPort
test_class.modifier: private
test_class.original_string: private int zkServerPort;
test_class.type: int
test_class.var_name: zkServerPort
test_class.file: dubbo-remoting/dubbo-remoting-zookeeper/src/test/java/com/alibaba/dubbo/remoting/zookeeper/curator/CuratorZookeeperClientTest.java
test_class.identifier: CuratorZookeeperClientTest
test_case.body: @Test
      public void testCheckExists() {
          CuratorZookeeperClient curatorClient = new CuratorZookeeperClient(URL.valueOf("zookeeper://127.0.0.1:" + this.zkServerPort + "/com.alibaba.dubbo.registry.RegistryService"));
          String path = "/dubbo/com.alibaba.dubbo.demo.DemoService/providers";
          curatorClient.create(path, false);
          Assert.assertThat(curatorClient.checkExists(path), is(true));
          Assert.assertThat(curatorClient.checkExists(path + "/noneexits"), is(false));
      }
test_case.class_method_signature: CuratorZookeeperClientTest.testCheckExists()
test_case.full_signature: @Test public void testCheckExists()
test_case.identifier: testCheckExists
test_case.invocations: valueOf create assertThat checkExists is assertThat checkExists is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCheckExists()
focal_class.declarator: client
focal_class.modifier: private final
focal_class.original_string: private final CuratorFramework client;
focal_class.type: CuratorFramework
focal_class.var_name: client
focal_class.file: dubbo-remoting/dubbo-remoting-zookeeper/src/main/java/com/alibaba/dubbo/remoting/zookeeper/curator/CuratorZookeeperClient.java
focal_class.identifier: CuratorZookeeperClient
focal_class.class_method_signature: CuratorZookeeperClient.CuratorZookeeperClient(URL url)
focal_class.full_signature: public  CuratorZookeeperClient(URL url)
focal_class.identifier: CuratorZookeeperClient
focal_class.modifiers: public
focal_class.parameters: (URL url)
focal_class.signature:  CuratorZookeeperClient(URL url)
focal_class.class_method_signature: CuratorZookeeperClient.createPersistent(String path)
focal_class.full_signature: @Override public void createPersistent(String path)
focal_class.identifier: createPersistent
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void createPersistent(String path)
focal_class.class_method_signature: CuratorZookeeperClient.createEphemeral(String path)
focal_class.full_signature: @Override public void createEphemeral(String path)
focal_class.identifier: createEphemeral
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void createEphemeral(String path)
focal_class.class_method_signature: CuratorZookeeperClient.delete(String path)
focal_class.full_signature: @Override public void delete(String path)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void delete(String path)
focal_class.class_method_signature: CuratorZookeeperClient.getChildren(String path)
focal_class.full_signature: @Override public List<String> getChildren(String path)
focal_class.identifier: getChildren
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: List<String>
focal_class.signature: List<String> getChildren(String path)
focal_class.class_method_signature: CuratorZookeeperClient.checkExists(String path)
focal_class.full_signature: @Override public boolean checkExists(String path)
focal_class.identifier: checkExists
focal_class.modifiers: @Override public
focal_class.parameters: (String path)
focal_class.return: boolean
focal_class.signature: boolean checkExists(String path)
focal_class.class_method_signature: CuratorZookeeperClient.isConnected()
focal_class.full_signature: @Override public boolean isConnected()
focal_class.identifier: isConnected
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isConnected()
focal_class.class_method_signature: CuratorZookeeperClient.doClose()
focal_class.full_signature: @Override public void doClose()
focal_class.identifier: doClose
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void doClose()
focal_class.class_method_signature: CuratorZookeeperClient.createTargetChildListener(String path, ChildListener listener)
focal_class.full_signature: @Override public CuratorWatcher createTargetChildListener(String path, ChildListener listener)
focal_class.identifier: createTargetChildListener
focal_class.modifiers: @Override public
focal_class.parameters: (String path, ChildListener listener)
focal_class.return: CuratorWatcher
focal_class.signature: CuratorWatcher createTargetChildListener(String path, ChildListener listener)
focal_class.class_method_signature: CuratorZookeeperClient.addTargetChildListener(String path, CuratorWatcher listener)
focal_class.full_signature: @Override public List<String> addTargetChildListener(String path, CuratorWatcher listener)
focal_class.identifier: addTargetChildListener
focal_class.modifiers: @Override public
focal_class.parameters: (String path, CuratorWatcher listener)
focal_class.return: List<String>
focal_class.signature: List<String> addTargetChildListener(String path, CuratorWatcher listener)
focal_class.class_method_signature: CuratorZookeeperClient.removeTargetChildListener(String path, CuratorWatcher listener)
focal_class.full_signature: @Override public void removeTargetChildListener(String path, CuratorWatcher listener)
focal_class.identifier: removeTargetChildListener
focal_class.modifiers: @Override public
focal_class.parameters: (String path, CuratorWatcher listener)
focal_class.return: void
focal_class.signature: void removeTargetChildListener(String path, CuratorWatcher listener)
focal_class.superclass: extends AbstractZookeeperClient<CuratorWatcher>
focal_method.body: @Override
      public boolean checkExists(String path) {
          try {
              if (client.checkExists().forPath(path) != null) {
                  return true;
              }
          } catch (Exception e) {
          }
          return false;
      }
focal_method.class_method_signature: CuratorZookeeperClient.checkExists(String path)
focal_method.full_signature: @Override public boolean checkExists(String path)
focal_method.identifier: checkExists
focal_method.invocations: forPath checkExists
focal_method.modifiers: @Override public
focal_method.parameters: (String path)
focal_method.return: boolean
focal_method.signature: boolean checkExists(String path)