Package com.couchbase.client.java.env
Class ClusterEnvironment
- java.lang.Object
-
- com.couchbase.client.core.env.CoreEnvironment
-
- com.couchbase.client.java.env.ClusterEnvironment
-
public class ClusterEnvironment extends CoreEnvironment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterEnvironment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterEnvironment.Builder
builder(Credentials credentials)
static ClusterEnvironment.Builder
builder(String connectionString, Credentials credentials)
static ClusterEnvironment.Builder
builder(String username, String password)
static ClusterEnvironment.Builder
builder(String connectionString, String username, String password)
static ClusterEnvironment
create(Credentials credentials)
static ClusterEnvironment
create(String connectionString, Credentials credentials)
static ClusterEnvironment
create(String username, String password)
static ClusterEnvironment
create(String connectionString, String username, String password)
protected String
defaultAgentTitle()
-
Methods inherited from class com.couchbase.client.core.env.CoreEnvironment
compressionConfig, credentials, eventBus, exportAsString, ioConfig, ioEnvironment, loggerConfig, retryStrategy, scheduler, securityConfig, seedNodes, serviceConfig, shutdown, shutdown, shutdownAsync, shutdownAsync, shutdownReactive, shutdownReactive, timeoutConfig, timer, toString, userAgent
-
-
-
-
Method Detail
-
defaultAgentTitle
protected String defaultAgentTitle()
- Overrides:
defaultAgentTitle
in classCoreEnvironment
-
create
public static ClusterEnvironment create(String username, String password)
-
create
public static ClusterEnvironment create(Credentials credentials)
-
create
public static ClusterEnvironment create(String connectionString, String username, String password)
-
create
public static ClusterEnvironment create(String connectionString, Credentials credentials)
-
builder
public static ClusterEnvironment.Builder builder(String username, String password)
-
builder
public static ClusterEnvironment.Builder builder(Credentials credentials)
-
builder
public static ClusterEnvironment.Builder builder(String connectionString, String username, String password)
-
builder
public static ClusterEnvironment.Builder builder(String connectionString, Credentials credentials)
-
-