use of com.couchbase.client.java.cluster.BucketSettings in project hazelcast-simulator by hazelcast.
the class BucketReadWriteTest method setup.
@Setup
public void setup() {
// ClusterManager clusterManager = cluster.clusterManager("Administrator", "password");
// BucketSettings bucketSettings = new DefaultBucketSettings.Builder()
// .type(BucketType.COUCHBASE)
// .name(name)
// .replicas(0)
// .quota(120)
// .build();
//
// clusterManager.insertBucket(bucketSettings);
values = generateStrings(valueCount, minValueLength, maxValueLength);
ClusterManager clusterManager = cluster.clusterManager("Administrator", "password");
for (BucketSettings b : clusterManager.getBuckets()) {
logger.info(b);
}
bucket = cluster.openBucket(name);
}
Aggregations