public static AsyncClusterConnection createAsyncClusterConnection(URI uri, Configuration conf,
    SocketAddress localAddress, User user) throws IOException {
    ConnectionRegistry registry = uri != null
      ? ConnectionRegistryFactory.create(uri, conf, user)
      : ConnectionRegistryFactory.create(conf, user);
    return createAsyncClusterConnection(conf, registry, localAddress, user);
  }
Create a new {@link AsyncClusterConnection} instance.
<p/>
This is usually used in replication, the given {@code uri} specifies the connection info of the
remote cluster.
hbase-server/src/main/java/org/apache/hadoop/hbase/client/ClusterConnectionFactory.java