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 ClusterOptionsClusterOptions.clusterOptions(Authenticator authenticator) static ClusterOptionsClusterOptions.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 AsyncClusterAsyncCluster.connect(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with a connection string and custom options.static AsyncClusterAsyncCluster.connect(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.static ClusterCluster.connect(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with custom options.static ClusterCluster.connect(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.static ReactiveClusterReactiveCluster.connect(String connectionString, ClusterOptions options) Connect to a Couchbase cluster with customAuthenticator.static ReactiveClusterReactiveCluster.connect(Set<SeedNode> seedNodes, ClusterOptions options) Connect to a Couchbase cluster with a list of seed nodes and custom options.