return new CouchbaseAsyncCluster(environment, ConnectionString.create(connectionString), true);
}
CouchbaseAsyncCluster(final CouchbaseEnvironment environment, final ConnectionString connectionString, final boolean sharedEnvironment) {
this.sharedEnvironment = sharedEnvironment;
core = new CouchbaseCore(environment);
List<String> seedNodes = new ArrayList<String>();
for (InetSocketAddress node : connectionString.hosts()) {
seedNodes.add(node.getHostName());
}
if (seedNodes.isEmpty()) {