How to configure timeouts for the Couchbaseclient in Java

I am using Couchbase java client 2.1.3. Could someone please point me to the documentation about setting the various timeouts for the client.

For inspiration,this is my configure
CouchbaseEnvironment env = DefaultCouchbaseEnvironment
.builder()
.kvTimeout(5000)
.managementTimeout(5000)
.connectTimeout(5000)
.build();
Cluster cluster=CouchbaseCluster.create(env, “192.168.103.131”);

1 Like