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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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)
Creates a cluster with the given settings.
|
Copyright © 2016. All Rights Reserved.