Create a connection to the Couchbase Cluster, which will allow you to create a com.ironcorelabs.davenport.datastore.CouchDatastore for a particular bucket.
The configuration class to tell Davenport how to configure the CouchConnection.
The configuration class to tell Davenport how to configure the CouchConnection.
- Number of threads to use for IO in the underlying couchbase connection.
- Number of threads to use for computation in underlying couchbase connection.
- Number of sockets to keep open per node. Should be left at 1 unless you're sure the socket is saturated.
- ip addresses or hostnames of the couchbase cluster nodes.
Indicates that the Exception is due to the underlying connection being terminated.
Create a connection to the Couchbase Cluster, which will allow you to create a com.ironcorelabs.davenport.datastore.CouchDatastore for a particular bucket. Only one of CouchConnection should be created at a time in an application as it handles all the underlying threading and is expensive to create.
This is primarily used to for the purpose of calling CouchConnection.openDatastore which creates a com.ironcorelabs.davenport.datastore.Datastore for the BucketNameAndPassword that was passed in. The datastore created can be reused or discarded.