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 |
---|---|
ServerSettings |
MongoClientSettings.getServerSettings()
Gets the server-specific settings wrapped in a settings object.
|
Modifier and Type | Method and Description |
---|---|
MongoClientSettings.Builder |
MongoClientSettings.Builder.serverSettings(ServerSettings serverSettings)
Sets the server settings.
|
Modifier and Type | Method and Description |
---|---|
ServerSettings |
ServerSettings.Builder.build()
Create a new ServerSettings from the settings applied to this builder.
|
ServerSettings |
ClusterDescription.getServerSettings()
Gets the server settings, which may be null if not provided.
|
Modifier and Type | Method and Description |
---|---|
static ServerSettings.Builder |
ServerSettings.builder(ServerSettings serverSettings)
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 ServerListener |
EventListenerHelper.createServerListener(ServerSettings serverSettings,
ServerListener additionalServerListener) |
static ServerMonitorListener |
EventListenerHelper.getServerMonitorListener(ServerSettings serverSettings) |
Copyright © 2017. All Rights Reserved.