Package | Description |
---|---|
com.couchbase.client.java |
Holds all classes that are needed for the Couchbase Java SDK.
|
Modifier and Type | Method and Description |
---|---|
static ClusterOptions |
ClusterOptions.clusterOptions(com.couchbase.client.core.env.Authenticator authenticator) |
static ClusterOptions |
ClusterOptions.clusterOptions(String username,
String password) |
ClusterOptions |
ClusterOptions.environment(ClusterEnvironment environment)
Sets the ClusterEnvironment to use with this cluster.
|
ClusterOptions |
ClusterOptions.environment(Consumer<ClusterEnvironment.Builder> environmentCustomizer)
Sets a callback that configures the ClusterEnvironment owned by this
cluster.
|
Modifier and Type | Method and Description |
---|---|
static ReactiveCluster |
ReactiveCluster.connect(Set<com.couchbase.client.core.env.SeedNode> seedNodes,
ClusterOptions options)
Connect to a Couchbase cluster with a list of seed nodes and custom options.
|
static Cluster |
Cluster.connect(Set<com.couchbase.client.core.env.SeedNode> seedNodes,
ClusterOptions options)
Connect to a Couchbase cluster with a list of seed nodes and custom options.
|
static AsyncCluster |
AsyncCluster.connect(Set<com.couchbase.client.core.env.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 custom
Authenticator . |
static Cluster |
Cluster.connect(String connectionString,
ClusterOptions options)
Connect to a Couchbase cluster with custom options.
|
static AsyncCluster |
AsyncCluster.connect(String connectionString,
ClusterOptions options)
Connect to a Couchbase cluster with a connection string and custom options.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.