String bucketName = "default";
String bucketPassword = "";
List<String> nodes = Arrays.asList("127.0.0.1"); // IP or hostname of one or more nodes in the cluster
Cluster cluster = CouchbaseCluster.create(nodes);
Bucket bucket = cluster.openBucket(bucketName, bucketPassword);
World's No 1 Animated self learning Website with Informative tutorials explaining the code and the choices behind it all.
© 2016 - 2019 KaaShiv InfoTech, All rights reserved.