Uses of Class
com.couchbase.client.java.ClusterOptions
Packages that use ClusterOptions
Package
Description
Holds all classes that are needed for the Couchbase Java SDK.
-
Uses of ClusterOptions in com.couchbase.client.java
Methods in com.couchbase.client.java that return ClusterOptionsModifier and TypeMethodDescriptionstatic ClusterOptions
ClusterOptions.clusterOptions
(Authenticator authenticator) static ClusterOptions
ClusterOptions.clusterOptions
(String username, String password) ClusterOptions.environment
(ClusterEnvironment environment) Sets the ClusterEnvironment to use with this cluster.ClusterOptions.environment
(Consumer<ClusterEnvironment.Builder> environmentCustomizer) Sets a callback that configures the ClusterEnvironment owned by this cluster.Methods in com.couchbase.client.java with parameters of type ClusterOptionsModifier and TypeMethodDescriptionstatic AsyncCluster
AsyncCluster.connect
(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with a connection string and custom options.static AsyncCluster
AsyncCluster.connect
(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.static Cluster
Cluster.connect
(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with custom options.static Cluster
Cluster.connect
(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.static ReactiveCluster
ReactiveCluster.connect
(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with customAuthenticator
.static ReactiveCluster
ReactiveCluster.connect
(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.