Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.connection |
Contains classes that manage connecting to MongoDB servers.
|
com.mongodb.internal.event |
Modifier and Type | Method and Description |
---|---|
ClusterSettings |
MongoClientSettings.getClusterSettings()
Gets the cluster settings.
|
Modifier and Type | Method and Description |
---|---|
MongoClientSettings.Builder |
MongoClientSettings.Builder.clusterSettings(ClusterSettings clusterSettings)
Sets the cluster settings.
|
Modifier and Type | Method and Description |
---|---|
ClusterSettings |
ClusterSettings.Builder.build()
Build the settings from the builder.
|
ClusterSettings |
ClusterDescription.getClusterSettings()
Gets the cluster settings, which may be null if not provided.
|
ClusterSettings |
Cluster.getSettings()
Gets the cluster settings with which this cluster was created.
|
Modifier and Type | Method and Description |
---|---|
static ClusterSettings.Builder |
ClusterSettings.builder(ClusterSettings clusterSettings)
Creates a builder instance.
|
Cluster |
ClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener)
Creates a cluster with the given settings.
|
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener) |
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener,
CommandListener commandListener)
|
Cluster |
DefaultClusterFactory.create(ClusterSettings settings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
ClusterListener clusterListener,
ConnectionPoolListener connectionPoolListener,
ConnectionListener connectionListener,
CommandListener commandListener,
String applicationName,
MongoDriverInformation mongoDriverInformation)
|
Cluster |
DefaultClusterFactory.createCluster(ClusterSettings clusterSettings,
ServerSettings serverSettings,
ConnectionPoolSettings connectionPoolSettings,
StreamFactory streamFactory,
StreamFactory heartbeatStreamFactory,
List<MongoCredential> credentialList,
CommandListener commandListener,
String applicationName,
MongoDriverInformation mongoDriverInformation)
Creates a cluster with the given settings.
|
Constructor and Description |
---|
ClusterDescription(ClusterConnectionMode connectionMode,
ClusterType type,
List<ServerDescription> serverDescriptions,
ClusterSettings clusterSettings,
ServerSettings serverSettings)
Creates a new ClusterDescription.
|
Modifier and Type | Method and Description |
---|---|
static ClusterListener |
EventListenerHelper.getClusterListener(ClusterSettings clusterSettings) |
Copyright © 2017. All Rights Reserved.